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

expecting target table #6

Open
Dahandla opened this issue Jan 8, 2017 · 2 comments
Open

expecting target table #6

Dahandla opened this issue Jan 8, 2017 · 2 comments

Comments

@Dahandla
Copy link

Dahandla commented Jan 8, 2017

when i run

th train.lua --cuda --dataset 50000 --hiddenSize 1000

Iget

-- Epoch 1 / 50

/root/torch-cl/install/bin/luajit: ...orch-cl/install/share/lua/5.1/rnn/SequencerCriterion.lua:47: expecting target table
stack traceback:
[C]: in function 'assert'
...orch-cl/install/share/lua/5.1/rnn/SequencerCriterion.lua:47: in function 'forward'
./seq2seq.lua:74: in function 'train'
train.lua:85: in main chunk
[C]: in function 'dofile'
...t/torch-cl/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

any help would be appreciated

@ArashHosseini
Copy link

th train.lua --opencl --dataset 500 --hiddenSize 100 --maxEpoch 10 --saturateEpoch 4
-- Loading dataset
Loading vocabulary from data/vocab.t7 ...

Dataset stats:
Vocabulary size: 1613
Examples: 774
libthclnn_searchpath /home/flyn/torch-cl/install/lib/lua/5.1/libTHCLNN.so
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: Quadro 4000

-- Epoch 1 / 10

/home/flyn/torch-cl/install/bin/luajit: ...orch-cl/install/share/lua/5.1/rnn/SequencerCriterion.lua:47: expecting target table
stack traceback:
[C]: in function 'assert'
...orch-cl/install/share/lua/5.1/rnn/SequencerCriterion.lua:47: in function 'forward'
./seq2seq.lua:74: in function 'train'
train.lua:85: in main chunk
[C]: in function 'dofile'
...n/torch-cl/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670

same error any news about that?

@ArashHosseini
Copy link

solved by changing to https://github.com/macournoyer/neuralconvo repo

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