jzbontar/mc-cnn

Read 0 blocks instead of 1

KevinJune opened this issue · 2 comments

I'm trying to run this command:

./main.lua kitti fast -a predict -net_fname net/net_kitti_fast_-a_train_all.t7 -left samples/input/kittiL.png -right samples/input/kittiR.png -disp_max 70

And, I'm getting this error message:

kitti fast -a predict -net_fname net/net_kitti_fast_-a_train_all.t7 -left samples/input/kittiL.png -right samples/input/kittiR.png -disp_max 70
Found Environment variable CUDNN_PATH = /usr/local/cuda/lib64/libcudnn.so.5luajit: /home/june/torch/install/share/lua/5.1/torch/File.lua:259: read error: read 0 blocks instead of 1 at /home/june/torch/pkg/torch/lib/TH/THDiskFile.c:352
stack traceback:
[C]: in function 'readInt'
/home/june/torch/install/share/lua/5.1/torch/File.lua:259: in function 'readObject'
/home/june/torch/install/share/lua/5.1/torch/File.lua:409: in function 'load'
./main.lua:898: in main chunk
[C]: at 0x00405d50

I already try to reinstall torch

I'm not passing it the model correctly. It expects exact path to it, not just the folder that holds it.
Sometimes maybe miss some files or type a wrong name for the files

I'm not passing it the model correctly. It expects exact path to it, not just the folder that holds it.
Sometimes maybe miss some files or type a wrong name for the files

Hi, I have the same issue, could you tell me how can you solve it? Btw, my path to file is already an absolute path.