Open yangboz opened 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
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?
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.
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
just to note, this happened to me as well. Thanks @avaranovich!
so which script i need to run now?
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