luajit: ...bio/torch/install/share/lua/5.1/nn/ClassNLLCriterion.lua:50: bad argument #1 to 'ClassNLLCriterion_updateOutput' (torch.CudaTensor expected, got nn.ClassNLLCriterion)
stack traceback:
[C]: in function 'ClassNLLCriterion_updateOutput'
...bio/torch/install/share/lua/5.1/nn/ClassNLLCriterion.lua:50: in function 'forward'
train.lua:248: in function 'opfunc'
/home/fabio/torch/install/share/lua/5.1/optim/rmsprop.lua:32: in function 'rmsprop'
train.lua:288: in main chunk
[C]: in function 'dofile'
...abio/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
[C]: at 0x00406670