You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am receiving the following issue and it seems to be tied to nn - i have tried updating nn with luarocks install nn but same thing.
Error:
/home/zak/torch/install/bin/luajit: /home/zak/torch/install/share/lua/5.1/nn/THNN.lua:110: bad argument #3 to 'v' (cannot convert 'struct THDoubleTensor *' to 'struct THFloatTensor *')
stack traceback:
[C]: in function 'v'
/home/zak/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'BCECriterion_updateOutput'
/home/zak/torch/install/share/lua/5.1/nn/BCECriterion.lua:33: in function 'forward'
./adversarial_rgb.lua:80: in function 'opfunc'
/home/zak/torch/install/share/lua/5.1/optim/adam.lua:37: in function 'adam'
./adversarial_rgb.lua:227: in function 'train'
train_rgb.lua:228: in function 'main'
train_rgb.lua:296: in main chunk
[C]: in function 'dofile'
.../zak/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
what can I do?
The text was updated successfully, but these errors were encountered:
I have updated all of them with luarocks install [package] but I am getting the same result. Is there another way to reinstall? Or other possible causes?
I am receiving the following issue and it seems to be tied to nn - i have tried updating nn with luarocks install nn but same thing.
Error:
/home/zak/torch/install/bin/luajit: /home/zak/torch/install/share/lua/5.1/nn/THNN.lua:110: bad argument #3 to 'v' (cannot convert 'struct THDoubleTensor *' to 'struct THFloatTensor *')
stack traceback:
[C]: in function 'v'
/home/zak/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'BCECriterion_updateOutput'
/home/zak/torch/install/share/lua/5.1/nn/BCECriterion.lua:33: in function 'forward'
./adversarial_rgb.lua:80: in function 'opfunc'
/home/zak/torch/install/share/lua/5.1/optim/adam.lua:37: in function 'adam'
./adversarial_rgb.lua:227: in function 'train'
train_rgb.lua:228: in function 'main'
train_rgb.lua:296: in main chunk
[C]: in function 'dofile'
.../zak/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
what can I do?
The text was updated successfully, but these errors were encountered: