Hi! I'm getting the following error running the recurrentlanguagemodel code.
`FileLogger: log will be written to /home/user/save/comp:1458431781:1/log
==> epoch # 1 for optimizer :
[======================================== 4000/4000 ==================================>] Tot: 12s48ms | Step: 4ms
==> example speed = 216.87828023852 examples/s
[======================================== 24000/24000 ================================>] Tot: 2m49s | Step: 7ms
/home/user/torch/install/bin/luajit: ...2/torch/install/share/lua/5.1/dp/sampler/textsampler.lua:38: bad argument #3 to 'narrow' (out of range at /home/user/torch/pkg/torch/lib/TH/generic/THTensor.c:351)
stack traceback:
[C]: in function 'narrow'
...2/torch/install/share/lua/5.1/dp/sampler/textsampler.lua:38: in function 'sampler'
...torch/install/share/lua/5.1/dp/propagator/propagator.lua:117: in function 'propagateEpoch'
...torch/install/share/lua/5.1/dp/propagator/experiment.lua:116: in function 'run'
lstm_lm_example.lua:360: in main chunk
[C]: in function 'dofile'
...hj92/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00405d70
Hi! I'm getting the following error running the recurrentlanguagemodel code.
I can get around this error by setting
This is the model:
I would be very thankful for any help you can provide to solve this issue.