neural-style-audio-torch
neural-style-audio-torch copied to clipboard
"unknown object" in function 'readObject' when loading the means data file
When attempting to use the texture synthesis example, I get the following error (line 424 is the code line that is loading the parameter means file):
/Users/mz2/torch/install/bin/luajit: /Users/mz2/torch/install/share/lua/5.1/torch/File.lua:375: unknown object
stack traceback:
[C]: in function 'error'
/Users/mz2/torch/install/share/lua/5.1/torch/File.lua:375: in function 'readObject'
/Users/mz2/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
neural_style_audio.lua:424: in function 'load_data'
neural_style_audio.lua:81: in function 'main'
neural_style_audio.lua:435: in main chunk
[C]: in function 'dofile'
.../mz2/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x010d4081c0
I'm executing this on macOS 10.11.6 – is the network perhaps serialised in some form not compatible with executing on macOS (64bit)? Any workarounds in mind?
Did you try to update everything? Or redownload the file, it can be corrupted. I don't know other reasons why it could happen..
Yeah, all dependencies up to date, tried downloading again and hit the same. I saw some others complaining about a 32/64 bit difference at least in connection to this. I got the tensorflow version of this project to work but would still much prefer the torch version for my purposes :-(
Matias
On 14 May 2017, 19:00 +0100, Dmitry Ulyanov [email protected], wrote:
Did you try to update everything? Or redownload the file, it can be corrupted. I don't know other reasons it could happen.. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hmm, do you have 32 bit version ?
Nope, a regular 64-bit Mac Pro running macOS 10.11.6.
Have no idea to be true..