jcjohnson / fast-neural-style

Feedforward style transfer
4.29k stars 816 forks source link

ERROR: Could not load model from models #126

Open yangboz opened 7 years ago

yangboz commented 7 years ago

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 commented 7 years ago

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. https://github.com/torch/torch7/issues/744

vkbs commented 7 years ago

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 commented 7 years ago

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 commented 6 years ago

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

HandsomeDevilv112 commented 6 years ago

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

jatinfl15 commented 3 years ago

so which script i need to run now?