domerin0 / seq2seq-chatbot

An implementation of Google's seq2seq architecture for building a chatbot.
Apache License 2.0
22 stars 8 forks source link

error "expecting target table" at 'Evaluating test set' phase #21

Closed SeekPoint closed 8 years ago

SeekPoint commented 8 years ago

rzai@rzai00:~/prj/seq2seq-chatbot$ CUDA_VISIBLE_DEVICES=1 th train.lua Running trainCmdArgs

Preprocessor doesn't need to be run, moving on...

Minibatches already created before, moving on...

Vocab size is: 59883

using CUDA on GPU 0...

Using 0.7 As percentage of data to train on...

Using 0.3 As percentage of data to test on...

Building model with:

Hidden size of: 500 Number of layers: 2 Dropout: 0.8

There are 13183 batches per epoch:

-- Epoch 1 / 50

Batch took: 18.2250s, percent of epoch done: 0.0008, loss: 0.4158

Batch took: 17.4583s, percent of epoch done: 0.0015, loss: 0.3923

Batch took: 21.2350s, percent of epoch done: 0.0023, loss: 0.3836

Batch took: 19.9225s, percent of epoch done: 0.0030, loss: 0.3780

*****a lot of line*

Batch took: 14.9179s, percent of epoch done: 0.9983, loss: 0.1722

Batch took: 14.2499s, percent of epoch done: 0.9990, loss: 0.1721

Batch took: 20.4963s, percent of epoch done: 0.9998, loss: 0.1721

Evaluating test set:

/home/rzai/torch/install/bin/luajit: ...i/torch/install/share/lua/5.1/rnn/SequencerCriterion.lua:47: expecting target table stack traceback: [C]: in function 'assert' ...i/torch/install/share/lua/5.1/rnn/SequencerCriterion.lua:47: in function 'forward' ./Models/Seq2Seq.lua:99: in function 'eval' train.lua:163: in main chunk [C]: in function 'dofile' ...rzai/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x00406670 rzai@rzai00:~/prj/seq2seq-chatbot$ rzai@rzai00:~/prj/seq2seq-chatbot$

domerin0 commented 8 years ago

Hey, I haven't forgotten; just been very busy lately. I am currently testing a fix, will hopefully have it up sometime shortly.