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

nngraph: Got 3 inputs instead of 5 #6

Open
alex3s opened this issue Aug 21, 2017 · 0 comments
Open

nngraph: Got 3 inputs instead of 5 #6

alex3s opened this issue Aug 21, 2017 · 0 comments

Comments

@alex3s
Copy link

alex3s commented Aug 21, 2017

Hi,
Training runs fine, but sampling gives the following error:

th ./sample.lua cv/lm_lstm_epoch7.01_1.3587.t7

nngraph/gmodule.lua:362: Got 3 inputs instead of 5

stack traceback:
	[C]: in function 'error'
	/home/user/torch/install/share/lua/5.1/nngraph/gmodule.lua:362: in function 'forward'
	./sample.lua:173: in main chunk
	[C]: in function 'dofile'
	/home/user/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: at 0x00406670

char-rnn on the same machine doesn't give error.
Updated the nngraph package:
luarocks install nngraph
The issue remains. Thank you for looking into it and for sharing.

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