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

Cannot run torch train command – NYI stack traceback: #168

Open
matthewclark4 opened this issue Nov 13, 2018 · 0 comments
Open

Cannot run torch train command – NYI stack traceback: #168

matthewclark4 opened this issue Nov 13, 2018 · 0 comments

Comments

@matthewclark4
Copy link

matthewclark4 commented Nov 13, 2018

Hello, have been following the torch rnn mac install tutorial found here:
http://www.jeffreythompson.org/blog/2016/03/25/torch-rnn-mac-install/

I am running the following command for step 7. (using -gpu -1 flag because CUDA isnt working)

th train.lua -input_h5 data/tiny_shakespeare.h5 -input_json data/tiny_shakespeare.json -gpu -1

however it spits out this:

 /Users/matthewclark/torch/install/bin/lua: .../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:88: NYI
stack traceback:
	[C]: in function '__concat'
	.../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:88: in function <.../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:87>
	[C]: in function 'tostring'
	.../matthewclark/torch/install/share/lua/5.2/hdf5/group.lua:39: in function '__init'
	.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:91: in function <.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:87>
	[C]: in function 'HDF5Group'
	...s/matthewclark/torch/install/share/lua/5.2/hdf5/init.lua:74: in function '_loadObject'
	...s/matthewclark/torch/install/share/lua/5.2/hdf5/file.lua:19: in function '__init'
	.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:91: in function <.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:87>
	[C]: in function 'HDF5File'
	...s/matthewclark/torch/install/share/lua/5.2/hdf5/file.lua:148: in function <...s/matthewclark/torch/install/share/lua/5.2/hdf5/file.lua:145>
	(...tail calls...)
	./util/DataLoader.lua:17: in function '__init'
	.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:91: in function <.../matthewclark/torch/install/share/lua/5.2/torch/init.lua:87>
	[C]: in function 'DataLoader'
	train.lua:76: in main chunk
	[C]: in function 'dofile'
	...lark/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: in ?

Any help would be much appreciated, am pretty stuck here

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