kimiyoung / review_net

Review Network for Caption Generation
MIT License
182 stars 57 forks source link

ERROR: bad argument #1 to '?' (torch/digits) #6

Closed busrakb closed 7 years ago

busrakb commented 7 years ago

2017-06-19 14:59:55 [INFO ] Image channels are 3, Image width is 256 and Image height is 256 2017-06-19 14:59:55 [INFO ] found 1550 images in train db/root/digits/digits/jobs/20170601-111739-f754/val_db 2017-06-19 14:59:55 [INFO ] Loading network definition from /root/digits/digits/jobs/20170619-145952-06b8/model Using CuDNN backend 2017-06-19 14:59:56 [FAIL] bad argument #1 to '?' (expecting number or torch.DoubleTensor or torch.DoubleStorage at /tmp/luarocks_torch-scm-1-1041/torch7/generic/Tensor.c:1153) DIGITS Lua Error stack traceback: [C]: at 0x7fb4bdb2cda0 [C]: in function 'Tensor' /root/torch/install/share/lua/5.1/nn/Linear.lua:6: in function '__init' /root/torch/install/share/lua/5.1/torch/init.lua:91: in function </root/torch/install/share/lua/5.1/torch/init.lua:87> [C]: in function 'Linear' /root/digits/digits/jobs/20170619-145952-06b8/model.lua:113: in function 'createModel' /root/digits/digits/jobs/20170619-145952-06b8/model.lua:133: in function 'network_func' /root/digits/digits/tools/torch/main.lua:288: in main chunk [C]: in function 'dofile' /root/digits/digits/tools/torch/wrapper.lua:25: in function </root/digits/digits/tools/torch/wrapper.lua:25> [C]: in function 'xpcall' /root/digits/digits/tools/torch/wrapper.lua:25: in main chunk [C]: in function 'dofile' /root/torch/install/

what is the problem. Is the problem model? or different thing. Can you help me?

Thank you..