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

No such file or directory: 'model_demo.pt' #5

Open
zbeedatm opened this issue Aug 15, 2020 · 2 comments
Open

No such file or directory: 'model_demo.pt' #5

zbeedatm opened this issue Aug 15, 2020 · 2 comments

Comments

@zbeedatm
Copy link

zbeedatm commented Aug 15, 2020

I downloaded the code to my machine and tried to run it from PyCharm (with Conda python after installing torch -on Windows without GPU-) but when running the demo.py I'm getting:

No such file or directory: 'model_demo.pt'

where can I get that file from? Is it possible to run it on windows this way? and without GPU... will it work?

@zbeedatm
Copy link
Author

zbeedatm commented Aug 15, 2020

I downloaded the .pt files manually, took their urls from download_models.sh:

wget https://www.dropbox.com/s/s9y65ajzjz4thve/initial_weights_for_spatial_training.pt
wget https://www.dropbox.com/s/ye3lyyyzd73afa7/initial_weights_for_temporal_training.pt
wget https://www.dropbox.com/s/vt8hua06r1yoi2i/model_demo.pt
wget https://www.dropbox.com/s/nloym5bmvv1v7wr/model_gazefollow.pt
wget https://www.dropbox.com/s/ywd16kcv06vn93x/model_videoatttarget.pt

and downlded the data sets of gazefollow and videoattarget (from links in wiki)

  1. demo.py ran successfuly
  2. eval_on_gaze_follow is giving this error that I couldn't figure how to fix it yet!

usage: _jb_nosetest_runner.py [-h] [--device DEVICE]
[--model_weights MODEL_WEIGHTS]
[--batch_size BATCH_SIZE]
_jb_nosetest_runner.py: error: unrecognized arguments

  1. eval_on_videoatttarget is giving this error:

RuntimeError: CUDA error: out of memory

@ejcgt
Copy link
Owner

ejcgt commented Oct 25, 2020

Hi @zbeedatm sorry for my late reply. Were you able to resolve this issue? Are you trying to run the code without GPU? I haven't tested the code with CPU only mode so it may not work as-is if you don't have GPU.

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

2 participants