Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Shatino94 opened this issue Feb 26, 2024 · 2 comments

Comments

@Shatino94
Copy link

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
Copy link

2uocAnh commented Jun 2, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants