Hi!, first of all saying that I'm new using torch and itorch, but I have been trying a couple of afternoons to make this tutorial work and I am still getting an error.
In tutorial 2 part 1, when loading the data I have no problems doing it from console...but when I try to do it from the itorch notebook to visualize the data, I am getting the following error:
Out[1]:
==> processing options
==> downloading dataset
==> using reduced training data, for fast experiments
==> loading dataset
Out[1]:
==> preprocessing data
Out[1]:
==> preprocessing data: colorspace RGB -> YUV
Out[1]:
==> preprocessing data: normalize each feature (channel) globally
Out[1]:
==> preprocessing data: normalize all three channels locally
expected arguments: [Generator] [double] [double] | DoubleTensor [Generator] [double] [double]
stack traceback:
[C]: at 0x7fcf1f980750
[C]: in function 'uniform'
...torch/install/share/lua/5.1/nn/SpatialConvolutionMap.lua:103: in function 'reset'
...torch/install/share/lua/5.1/nn/SpatialConvolutionMap.lua:73: in function 'init'
/home/vvaq/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/vvaq/torch/install/share/lua/5.1/torch/init.lua:47>
[C]: in function 'SpatialConvolutionMap'
...all/share/lua/5.1/nn/SpatialSubtractiveNormalization.lua:35: in function 'init'
/home/vvaq/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/vvaq/torch/install/share/lua/5.1/torch/init.lua:47>
[C]: in function 'SpatialSubtractiveNormalization'
...all/share/lua/5.1/nn/SpatialContrastiveNormalization.lua:23: in function '__init'
/home/vvaq/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/vvaq/torch/install/share/lua/5.1/torch/init.lua:47>
...
[string "local f = function() return dofile '1_data.lu..."]:1: in main chunk
[C]: in function 'xpcall'
/home/vvaq/torch/install/share/lua/5.1/itorch/main.lua:177: in function </home/vvaq/torch/install/share/lua/5.1/itorch/main.lua:143>
/home/vvaq/torch/install/share/lua/5.1/lzmq/poller.lua:75: in function 'poll'
.../vvaq/torch/install/share/lua/5.1/lzmq/impl/loop.lua:307: in function 'poll'
.../vvaq/torch/install/share/lua/5.1/lzmq/impl/loop.lua:325: in function 'sleep_ex'
.../vvaq/torch/install/share/lua/5.1/lzmq/impl/loop.lua:370: in function 'start'
/home/vvaq/torch/install/share/lua/5.1/itorch/main.lua:344: in main chunk
[C]: in function 'require'
[string "arg={'/home/vvaq/.ipython/profile_default..."]:1: in main chunk
Did anyone have a similar problem?.
I have checked and reinstall components... everything seems OK. More details:
Hi!, first of all saying that I'm new using torch and itorch, but I have been trying a couple of afternoons to make this tutorial work and I am still getting an error. In tutorial 2 part 1, when loading the data I have no problems doing it from console...but when I try to do it from the itorch notebook to visualize the data, I am getting the following error:
Out[1]:
==> processing options
==> downloading dataset ==> using reduced training data, for fast experiments
==> loading dataset
Out[1]:
==> preprocessing data
Out[1]:
==> preprocessing data: colorspace RGB -> YUV
Out[1]:
==> preprocessing data: normalize each feature (channel) globally
Out[1]:
==> preprocessing data: normalize all three channels locally
expected arguments: [Generator] [double] [double] | DoubleTensor [Generator] [double] [double] stack traceback: [C]: at 0x7fcf1f980750 [C]: in function 'uniform' ...torch/install/share/lua/5.1/nn/SpatialConvolutionMap.lua:103: in function 'reset' ...torch/install/share/lua/5.1/nn/SpatialConvolutionMap.lua:73: in function 'init' /home/vvaq/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/vvaq/torch/install/share/lua/5.1/torch/init.lua:47> [C]: in function 'SpatialConvolutionMap' ...all/share/lua/5.1/nn/SpatialSubtractiveNormalization.lua:35: in function 'init' /home/vvaq/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/vvaq/torch/install/share/lua/5.1/torch/init.lua:47> [C]: in function 'SpatialSubtractiveNormalization' ...all/share/lua/5.1/nn/SpatialContrastiveNormalization.lua:23: in function '__init' /home/vvaq/torch/install/share/lua/5.1/torch/init.lua:51: in function </home/vvaq/torch/install/share/lua/5.1/torch/init.lua:47> ... [string "local f = function() return dofile '1_data.lu..."]:1: in main chunk [C]: in function 'xpcall' /home/vvaq/torch/install/share/lua/5.1/itorch/main.lua:177: in function </home/vvaq/torch/install/share/lua/5.1/itorch/main.lua:143> /home/vvaq/torch/install/share/lua/5.1/lzmq/poller.lua:75: in function 'poll' .../vvaq/torch/install/share/lua/5.1/lzmq/impl/loop.lua:307: in function 'poll' .../vvaq/torch/install/share/lua/5.1/lzmq/impl/loop.lua:325: in function 'sleep_ex' .../vvaq/torch/install/share/lua/5.1/lzmq/impl/loop.lua:370: in function 'start' /home/vvaq/torch/install/share/lua/5.1/itorch/main.lua:344: in main chunk [C]: in function 'require' [string "arg={'/home/vvaq/.ipython/profile_default..."]:1: in main chunk
Did anyone have a similar problem?. I have checked and reinstall components... everything seems OK. More details:
Thank you for the help!