SCNN
SCNN copied to clipboard
test.sh failed
Hello, Xinggang, I am getting the following error after I run the test.sh in experiment folder, could you tell me what is wrong here, I googled some result, saying I should install LUA-JIT 2.0 version, after I installed this version, I still got the error.
load image failed! table: 0x40615620 laneTest nil load image failed! table: 0x40824530 laneTest nil /home/rtuser/torch/install/bin/luajit: ...e/rtuser/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 2 callback] /home/rtuser/torch/install/share/lua/5.1/image/init.lua:723: attempt to index local 'src' (a number value) stack traceback: /home/rtuser/torch/install/share/lua/5.1/image/init.lua:723: in function 'transform' ./datasets/transforms.lua:19: in function 'preprocess' ./dataloader.lua:102: in function <./dataloader.lua:92> [C]: in function 'xpcall' ...e/rtuser/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback' /home/rtuser/torch/install/share/lua/5.1/threads/queue.lua:65: in function </home/rtuser/torch/install/share/lua/5.1/threads/queue.lua:41> [C]: in function 'pcall' /home/rtuser/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob' [string " local Queue = require 'threads.queue'..."]:15: in main chunk stack traceback: [C]: in function 'error' ...e/rtuser/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob' ./dataloader.lua:161: in function '(for generator)' testLane.lua:66: in main chunk [C]: in function 'dofile' ...user/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x004057a0
Hi DanlanChen. It seems to be an image read issue. Firstly, make sure that the dataset has the right path architecture as described in the README. Secondly, if the problem still exists, it might be the case that your 'image' library failed to read .jpg or .png images. And you may need to check if the 'image' library is successfully installed.
@DanlanChen Hi,I met the same error with you. Have you solved yet? Do you know how to correct such error?
@DanlanChen @XingangPan @chenyiman I also meet the same problem, I am sure the image path is correct and the 'image' library has already successfully installed. Do you know how to correct such error?
@DanlanChen same problem, I can load the image successfully so I think nothing is wrong with image load. Any suggestion?
i got the same problem recently, and i've solved it. i have same two list.txt, they're same in content. But one is generated on SCNN dataset by script(.py) of remote server, the other is generated on same SCNN directory of my local computer.Here, the problem comes. First one run correctly, last one got the problem like @DanlanChen . So, i think the content of list.txt must be generated by your running-directory, not other directory. It's strange. ==