Skip to content

Instantly share code, notes, and snippets.

@xiaofanglegoc
Created June 21, 2016 10:04
Show Gist options
  • Save xiaofanglegoc/0129a67426c18036f04a7f6050a7770f to your computer and use it in GitHub Desktop.
Save xiaofanglegoc/0129a67426c18036f04a7f6050a7770f to your computer and use it in GitHub Desktop.
solution for my usage of torch
1, project: segmentation_cnn_eccv https://github.com/matt-rb/segmentation_cnn_eccv
1.1 cuDNN
/home/wang/torch/install/share/lua/5.1/trepl/init.lua:384: /home/wang/torch/install/share/lua/5.1/trepl/init.lua:384: /home/wang/torch/install/share/lua/5.1/cudnn/ffi.lua:1599: 'libcudnn (R5) not found in library path.
Please install CuDNN from https://developer.nvidia.com/cuDNN
Then make sure files named as libcudnn.so.5 or libcudnn.5.dylib are placed in your library load path (for example /usr/local/lib , or manually add a path to LD_LIBRARY_PATH)
1.1 solution:
export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment