python train.py --resume path/to/checkpoint
1z1y opened this issue · comments
zy commented
When I trained 12 epoch, I stop the procedure;then I wrote this commend "python train.py --resume path/to/checkpoints/xxx.json", but got an error like this"_pickle.UnpicklingError: invalid load key, '{'."
Please help me ,how should I use this command? And what's the purpose of this command?
zy commented
I solved this problem. I used the wrong command before, the parameter 'resume' should use the path of ". pth".