simonwsw/deep-soli

.lua:90: attempt to index field 'tableoutput' (a nil value)

mxtx0509 opened this issue · 3 comments

I am so sorry,my issues is that
/home/mz/torch/install/bin/luajit: /home/mz/torch/install/share/lua/5.1/rnn/Sequencer.lua:90: attempt to index field 'tableoutput' (a nil value)
stack traceback:
/home/mz/torch/install/share/lua/5.1/rnn/Sequencer.lua:90: in function 'forward'
./net/rnntrain.lua:28: in function 'batchEval'
./net/train.lua:24: in function 'epochEval'
./net/train.lua:46: in function 'train'
net/main.lua:45: in main chunk
[C]: in function 'dofile'
...e/mz/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x004065d0

I think I don't have the true input ,but i don't know how to do ?could you tell me? the code is as same as provide. @simonwsw @graulef

when I try to slove the problem I fond that update the rnn could solve the problem .but when I update the rnn ,there is another question . The question is that

/home/mz/torch/install/bin/luajit: /home/mz/torch/install/share/lua/5.1/torch/File.lua:343: unknown Torch class <nn.LinearNoBias>
stack traceback:
[C]: in function 'error'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:343: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/nn/Module.lua:192: in function 'read'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject'
...
/home/mz/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject'
/home/mz/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
./net/net.lua:21: in function 'loadNet'
./net/rnntrain.lua:22: in function '__init'
/home/mz/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/mz/torch/install/share/lua/5.1/torch/init.lua:87>
[C]: in function 'RnnTrain'
net/main.lua:40: in main chunk
[C]: in function 'dofile'
...e/mz/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x004065d0
when I try to solve the question I find it need to rollback to a oldder. I guess my version of rnn is mistake .so could you tell me the rnn version of you .If I am wrong could you tell me the reason and the solution
@simonwsw @graulef

I am reproducing the code of [deep-soli radar], the same problem you encountered, if rnn uses version [torch/rnn] and appears [attempt to call field 'Recurrent' (a nil value)], replace it with [ Element-Research/rnn] has the same problem as you [rnn/Sequencer.lua:90: attempt to index field 'tableoutput' (a nil value) ]

Did you solve this problem please?

M12DL commented

@Acciwu see this,#7 (comment) you will meet "invalid arguments: CudaTensor CudaTensor number",see this #5 (comment) everything is ok