XingangPan / SCNN

Spatial CNN for traffic lane detection (AAAI2018)
MIT License
814 stars 242 forks source link

run test.sh error(very dd error) #59

Open planckztd opened 6 years ago

planckztd commented 6 years ago

@XingangPan When I run sh ./experiments/test.sh, I met following error, what should I do?I checks my dataset's path is right. data created
data loaded data loaded 1
bad /home/kb457/torch/install/bin/luajit: /home/kb457/torch/install/share/lua/5.1/nn/Container.lua:67: In 2 module of nn.Sequential: ...torch/install/share/lua/5.1/cudnn/BatchNormalization.lua:69: bad argument #1 to 'resizeAs' (torch.CudaTensor expected, got userdata) stack traceback: [C]: in function 'resizeAs' ...torch/install/share/lua/5.1/cudnn/BatchNormalization.lua:69: in function <...torch/install/share/lua/5.1/cudnn/BatchNormalization.lua:63> [C]: in function 'xpcall' /home/kb457/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors' /home/kb457/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward' testLane.lua:72: in main chunk [C]: in function 'dofile' ...b457/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405de0

WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above. stack traceback: [C]: in function 'error' /home/kb457/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors' /home/kb457/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward' testLane.lua:72: in main chunk [C]: in function 'dofile' ...b457/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405de0

china56321 commented 4 years ago

@XingangPan When I run sh ./experiments/test.sh, I met following error, what should I do?I checks my dataset's path is right. data created data loaded data loaded 1 bad /home/kb457/torch/install/bin/luajit: /home/kb457/torch/install/share/lua/5.1/nn/Container.lua:67: In 2 module of nn.Sequential: ...torch/install/share/lua/5.1/cudnn/BatchNormalization.lua:69: bad argument #1 to 'resizeAs' (torch.CudaTensor expected, got userdata) stack traceback: [C]: in function 'resizeAs' ...torch/install/share/lua/5.1/cudnn/BatchNormalization.lua:69: in function <...torch/install/share/lua/5.1/cudnn/BatchNormalization.lua:63> [C]: in function 'xpcall' /home/kb457/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors' /home/kb457/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward' testLane.lua:72: in main chunk [C]: in function 'dofile' ...b457/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405de0

WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above. stack traceback: [C]: in function 'error' /home/kb457/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors' /home/kb457/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward' testLane.lua:72: in main chunk [C]: in function 'dofile' ...b457/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405de0 when i run test .sh , i meet a problem ,have you ever encountered this problem ? ./experiments/test.sh: 5: ./experiments/test.sh: th: not found