Skip to content

Train with error #79

@wilddylan

Description

@wilddylan

When I execute this command th train.lua --dataset 20000 --hiddenSize 100; I got this error:

-- Loading dataset
Loading vocabulary from data/vocab.t7 ...

Dataset stats:
  Vocabulary size: 3830
         Examples: 58852
dgk ending

-- Epoch 1 / 30

/Users/root1/torch/install/bin/lua: ...root1/torch/install/share/lua/5.2/rnn/recursiveUtils.lua:44: expecting nested tensors or tables. Got nil and nil instead
stack traceback:
	[C]: in function 'error'
	...root1/torch/install/share/lua/5.2/rnn/recursiveUtils.lua:44: in function 'recursiveCopy'
	./seq2seq.lua:58: in function 'backwardConnect'
	./seq2seq.lua:78: in function 'train'
	train.lua:90: in main chunk
	[C]: in function 'dofile'
	...oot1/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: in ?

Before execute this command, I install nn, rnn and async use luarock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions