thtrieu / darkflow

Translate darknet to tensorflow. Load trained weights, retrain/fine-tune using tensorflow, export constant graph def to mobile devices
GNU General Public License v3.0
6.13k stars 2.08k forks source link

PermissionError: [Errno 13] Permission denied: './ckpt/checkpoint' #1196

Closed temp369 closed 3 years ago

temp369 commented 3 years ago

While resuming from checkpoint using the command " python flow --train --model cfg/yolo_custom.cfg --load -1" it's throwing this error: File "C:\Users\fstream\darkflow\darkflow\net\help.py", line 23, in load_from_ckpt with open(os.path.join(self.FLAGS.backup, 'checkpoint'), 'r') as f: PermissionError: [Errno 13] Permission denied: './ckpt/checkpoint'

I also tried converting to protobuf file still not worked. I tried running as admin also. How to solve this issue?

temp369 commented 3 years ago

solved by giving --load value manually instead of -1