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 from train.lua #35

Open
varun-suresh opened this issue Apr 11, 2017 · 0 comments
Open

Error from train.lua #35

varun-suresh opened this issue Apr 11, 2017 · 0 comments

Comments

@varun-suresh
Copy link

This is happening at require 'image' in train.lua. I'm not very familiar with lua but does it have to do with scoping of the imports? Can you also specify the version of lua used? Thanks.

/root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 2 callback] /root/torch/install/share/lua/5.1/sys/init.lua:40: attempt to index local 'f' (a nil value)
stack traceback:
	/root/torch/install/share/lua/5.1/sys/init.lua:40: in function 'execute'
	/root/torch/install/share/lua/5.1/sys/init.lua:73: in function 'uname'
	/root/torch/install/share/lua/5.1/sys/init.lua:83: in main chunk
	[C]: in function 'require'
	/root/torch/install/share/lua/5.1/xlua/init.lua:37: in main chunk
	[C]: in function 'require'
	/root/torch/install/share/lua/5.1/image/init.lua:33: in main chunk
	[C]: in function 'require'
	train.lua:153: in function <train.lua:150>
	[C]: in function 'xpcall'
	/root/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback'
	/root/torch/install/share/lua/5.1/threads/queue.lua:65: in function </root/torch/install/share/lua/5.1/threads/queue.lua:41>
	[C]: in function 'pcall'
	/root/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob'
	[string "  local Queue = require 'threads.queue'..."]:13: in main chunk
stack traceback:
	[C]: in function 'error'
	/root/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob'
	/root/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize'
	/root/torch/install/share/lua/5.1/threads/threads.lua:142: in function 'specific'
	/root/torch/install/share/lua/5.1/threads/threads.lua:125: in function 'Threads'
	...are/lua/5.1/torchnet/dataset/paralleldatasetiterator.lua:85: in function '__init'
	/root/torch/install/share/lua/5.1/torch/init.lua:91: in function </root/torch/install/share/lua/5.1/torch/init.lua:87>
	[C]: in function 'getIterator'
	train.lua:233: in main chunk
	[C]: in function 'dofile'
	/root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
	[C]: at 0x00406670
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

1 participant