Closed kanuarj closed 3 years ago
hey I believe I guess terminal can't interpret the file name correctly. I encountered similar error during inference. Just rename the *.ckpt file and try again. By the way did you do any inference so far?
I did tried that. Yet it restarts from beginning. There was an issue with naming conventions while being saved with = sign which I did renamed manually and gave the path too.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@kanuarj and @uygarrr I encountered the same issue and solved by feeding the absolute path of checkpoint. In this repo, the example command is mistakenly written with relative path in readme but in pytorch lightning documentation they stated that checkpoint should be given as absolute path.
You can find the details in https://github.com/ashleve/lightning-hydra-template/blob/main/README.md.
I have came across an error pertaining to load the checkpoints. My checkpoints are saved in
/outputs/2021-06-23/17-59-11/lightning_logs/version_0/checkpoints/epoch=N-step=N.ckpt
path. But when I try the command :python train.py trainer.resume_from_checkpoint=lightning_logs/deepspeech_checkpoint_epoch_N_iter_N.ckpt
to load them I get an error. I solved the EOF error of name and also tried yet I get the error asI even tried full path. Any suggestions ?