zhang0jhon/AttentionOCR

Retrain from checkpoint

Opened this issue · 0 comments

Hi, I want to continue training from my checkpoint. I already trained 1000 epochs and have all model-500000.data-00000-of-00001 model-500000.index files. I also added restore_path in config file.
config file:
restore_path = './checkpoint2'
checkpoint_path = '/model-500000'

I am getting this error:
tensorflow.python.framework.errors_impl.DataLossError: Unable to open table file .\checkpoint2: Unknown: NewRandomAccessFile failed to Create/Open: .\checkpoint2 : Access is denied.

Does retraining work?
I searched in internet, I think there should be also ".meta" file in checkpoint folder.
@zhang0jhon