itaicaspi / SVHN-Multi-Digit-torch

Torch implementation of Multi-digit Number Recognition from Street View Imagery using Deep Convolutional Neural Networks (http://arxiv.org/pdf/1312.6082.pdf)
15 stars 14 forks source link

deploy in vps #2

Closed devMls closed 7 years ago

devMls commented 7 years ago

Hi i have another dude.

is mandatory use cuda?

i want to deploy this in a vps and install cuda in the vps is posble to be troubeling

itaicaspi commented 7 years ago

It's not mandatory to use cuda. Use the type flag in the arguments to turn it off

devMls commented 7 years ago

thanks por the response, but i still not sure about how to use this parameter,, in my computer i desinstall cutorch for reproduce the escenario and after that, remove the require cutorch of the eval script.

then i try different values in the -type argument but nothing work, i can only execute with the cutorch installed

is possile that the root cause is because in the line 40 of eval.lua have this instruction input = input:cuda() ??? this is the output: File.lua:343: unknown Torch class stack traceback: [C]: in function 'error' /home/miguel/torch/install/share/lua/5.1/torch/File.lua:343: in function 'readObject' /home/miguel/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/miguel/torch/install/share/lua/5.1/torch/File.lua:369: in function 'readObject' /home/miguel/torch/install/share/lua/5.1/nn/Module.lua:184: in function 'read' /home/miguel/torch/install/share/lua/5.1/torch/File.lua:351: in function 'readObject' /home/miguel/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load' eval.lua:26: in main chunk [C]: in function 'dofile' ...guel/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50