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

main.lua:45: attempt to call method 'noBias' (a nil value) #89

Open
BelhalK opened this issue Oct 28, 2018 · 0 comments
Open

main.lua:45: attempt to call method 'noBias' (a nil value) #89

BelhalK opened this issue Oct 28, 2018 · 0 comments

Comments

@BelhalK
Copy link

BelhalK commented Oct 28, 2018

Hi there,

I freshly installed torch and torch-cl from their git repo.
Yet, when I run

DATA_ROOT=myimages dataset=folder th main.lua

I get the following error

main.lua:45: attempt to call method 'noBias' (a nil value)

I also tried

cd ~/torch
./clean.sh
./update.sh

but still the same.

Any idea?

PS: Here is the whole error message (I am using Mac OS Mojave)

/Users/belhal/torch-cl/install/bin/luajit: main.lua:45: attempt to call method 'noBias' (a nil value)
stack traceback:
	main.lua:45: in function 'callback'
	belhal/torch-cl/install/share/lua/5.1/nn/Module.lua:305: in function 'apply'
	belhal/torch-cl/install/share/lua/5.1/nn/Module.lua:309: in function 'apply'
	main.lua:81: in main chunk
	[C]: in function 'dofile'
	...l/torch-cl/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
	[C]: at 0x010d771320
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