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

ERROR: Could not load model from models #126

Open
yangboz opened this issue May 19, 2017 · 6 comments
Open

ERROR: Could not load model from models #126

yangboz opened this issue May 19, 2017 · 6 comments

Comments

@yangboz
Copy link

yangboz commented May 19, 2017

Even though with " chmod +x", bash again, still throw:
ERROR: Could not load model from models/instance_norm/la_muse.t7
You may need to download the pre-trained models by running
bash models/download_style_transfer_models.sh

@zella
Copy link

zella commented Jun 16, 2017

Just remark. I have same problem on Raspberry 3. If i run print_options.lua exception throws: lua/5.1/torch/File.lua:370: table index is nil. torch/torch7#744

@vkbs
Copy link

vkbs commented Jul 11, 2017

Are you able to locate the files that the script downloaded?
Are you sure you're in the correct directory when running the fast-neural-style command?

@htoyryla
Copy link
Contributor

Also, you need to make sure you are in the main directory when you run the download script. If you run it from the models/ directory, it will place the downloaded models in models/models/instance_norm and models/models/eccv16 and they will not be found.

@avaranovich
Copy link

avaranovich commented Feb 22, 2018

The default script does not download the right files anymore, because of #143
Here is an adjusted version https://github.com/avaranovich/fast-neural-style/blob/master/models/download_style_transfer_models.sh

@HandsomeDevilv112
Copy link

just to note, this happened to me as well. Thanks @avaranovich!

@jatinfl15
Copy link

so which script i need to run now?

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

7 participants