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 training #211

Open
HarvsG opened this issue Oct 4, 2017 · 1 comment
Open

Error training #211

HarvsG opened this issue Oct 4, 2017 · 1 comment

Comments

@HarvsG
Copy link

HarvsG commented Oct 4, 2017

root@9ed087ccfe98:~/torch-rnn# th train.lua -input_h5 data/BurtonCrew.h5 -input_json data/BurtonCrew.json -gpu -1
Running in CPU mode	
/root/torch/install/bin/luajit: bad argument #2 to '?' (end index out of bound at /tmp/luarocks_torch-scm-1-437/torch7/generic/Tensor.c:969)
stack traceback:
	[C]: at 0x7ff387c55b20
	[C]: in function '__index'
	./util/DataLoader.lua:30: 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 'DataLoader'
	train.lua:76: 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

@antihutka
Copy link
Contributor

It looks like you might be running an old version of torch-rnn with a small dataset and hitting #135. Update and try again.

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