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
The input is a 3D image and the input size is [32, 30, 30, 30], which batchSize=32, Height x Width x Length = 30 x 30 x 30
/home/scs4850/torch/install/bin/luajit: /home/scs4850/torch/install/share/lua/5.1/nn/Container.lua:67:
In 1 module of nn.Sequential:
/home/scs4850/torch/install/share/lua/5.1/nn/THNN.lua:110: bad argument #3 to 'v' (cannot convert 'struct THFloatTensor *' to 'struct THCudaTensor *')
stack traceback:
[C]: in function 'v'
/home/scs4850/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'VolumetricConvolution_updateOutput'
...torch/install/share/lua/5.1/nn/VolumetricConvolution.lua:52: in function <...torch/install/share/lua/5.1/nn/VolumetricConvolution.lua:48>
[C]: in function 'xpcall'
/home/scs4850/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/scs4850/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./train.lua:57: in function 'train'
main.lua:49: in main chunk
[C]: in function 'dofile'
...4850/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/scs4850/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/scs4850/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
./train.lua:57: in function 'train'
main.lua:49: in main chunk
[C]: in function 'dofile'
...4850/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
I really don't know what's wrong with that. Anyone here can help me ?
The text was updated successfully, but these errors were encountered:
It looks like your input is of type CudaTensor, but the module isn't of that type. See some examples in the cunn tests, you probably want to call :cuda() on the module you are passing the input to, e.g. nn.Sequential(...):cuda() or nn.VolumetricConvolution(...):cuda() (remember to require 'cunn').
The input is a 3D image and the input size is [32, 30, 30, 30], which batchSize=32, Height x Width x Length = 30 x 30 x 30
I really don't know what's wrong with that. Anyone here can help me ?
The text was updated successfully, but these errors were encountered: