KaiyangZhou / pytorch-vsumm-reinforce

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

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

Open Shatino94 opened 8 months ago

Shatino94 commented 8 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 5 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!

Johntheja commented 1 month ago

there are only log_test.txt , log_train_txt , rewards.json in it no model file how to do it