Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read 0 blocks instead of 1 #51

Open
KevinJune opened this issue Apr 15, 2018 · 2 comments
Open

Read 0 blocks instead of 1 #51

KevinJune opened this issue Apr 15, 2018 · 2 comments

Comments

@KevinJune
Copy link

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

@KevinJune
Copy link
Author

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

@CarolLi
Copy link

CarolLi commented Feb 15, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants