IntrinsicImage icon indicating copy to clipboard operation
IntrinsicImage copied to clipboard

runtime error with test_iiw

Open eugenelyj opened this issue 5 years ago • 0 comments

Hi, when i run test_IIW.lua, i met some problems as following:

path/nn/CAddTable.lua:16: bad argument #2 to 'add' (sizes do not match at path/torch/extra/cutorch/lib/THC/generated/../generic/THCTensorMathPointwise.cu:217)
stack traceback:
        [C]: in function 'add'
        path/torch/install/share/lua/5.1/nn/CAddTable.lua:16: in function 'func'
        path/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval'
        path/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'func'
        path/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval'
        path/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'forward'
        evaluation/test_IIW.lua:66: in main chunk
        [C]: at 0x55a262a42570

It seems that something wrong about size happens during model forward computation and i check my input, it is one of image files in IIW dataset, with shape (3-channel, height, width). Do you met similar problem before or do you may know the reason?

eugenelyj avatar Nov 20 '19 14:11 eugenelyj