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

"unknown object" in function 'readObject' when loading the means data file #2

Open
mz2 opened this issue May 12, 2017 · 5 comments
Open

Comments

@mz2
Copy link

mz2 commented May 12, 2017

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?

@mz2 mz2 changed the title "unknown object" "unknown object" in function 'readObject' May 12, 2017
@mz2 mz2 changed the title "unknown object" in function 'readObject' "unknown object" in function 'readObject' when loading the means data file May 12, 2017
@DmitryUlyanov
Copy link
Owner

DmitryUlyanov commented May 14, 2017

Did you try to update everything? Or redownload the file, it can be corrupted. I don't know other reasons why it could happen..

@mz2
Copy link
Author

mz2 commented May 14, 2017 via email

@DmitryUlyanov
Copy link
Owner

Hmm, do you have 32 bit version ?

@mz2
Copy link
Author

mz2 commented May 16, 2017

Nope, a regular 64-bit Mac Pro running macOS 10.11.6.

@DmitryUlyanov
Copy link
Owner

Have no idea to be true..

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