fanq15 / caffe_to_torch_to_pytorch

149 stars 42 forks source link

Caffe to torch #2

Open sunithak opened 7 years ago

sunithak commented 7 years ago

th caffemodel_to_t7.lua /home/sunitha/torch/install/bin/lua: caffemodel_to_t7.lua:5: unexpected symbol near char(226) stack traceback: [C]: in function 'dofile' ...itha/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: in ? [1] 29333 segmentation fault (core dumped) th caffemodel_to_t7.lua

mgarbade commented 6 years ago

Open the file "caffemodel_to_t7.lua". Adapt the 3 paths there to your custom paths. Also delete this line and everything behind float() in this line