KaiyangZhou / pytorch-vsumm-reinforce

Unsupervised video summarization with deep reinforcement learning (AAAI'18)
MIT License
468 stars 150 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'path_to_your_model.pth.tar' #92

Open Shatino94 opened 6 months ago

Shatino94 commented 6 months ago

I ran this command "python main.py -d datasets/eccv16_dataset_summe_google_pool5.h5 -s datasets/summe_splits.json -m summe --gpu 0 --save-dir log/summe-split0 --split-id 0 --evaluate --resume path_to_your_model.pth.tar --verbose --save-results" to test the but it gave me the following error: FileNotFoundError: [Errno 2] No such file or directory: 'path_to_your_model.pth.tar'

How do I resolve it?

2uocAnh commented 3 months ago

just find and access your "log" folder, expand "summe-split0" subfolder and you will see the model file (.tar file). Hope this can help!