。Install CUDA / CUDNN and Chainer with GPU enabled
- download http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
- sudo dpkg -i cuda-repo-ubuntu1404_8.0.44-1_amd64.deb
- sudo apt-get update
- sudo apt-get install cuda
- Download https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v5.1/prod/8.0/cudnn-8.0-linux-x64-v5.1-tgz
- Extract tgz file
- sudo cp lib64/* /usr/local/cuda/lib64/
- sudo cp include/* /usr/local/cuda/include/
5. Don't forget to setup the nvcc path
nano ~/.bashrc ( or nano ~/.zshrc if you use zsh :p )
add the following line to the end of the rc file
export PATH=/usr/local/cuda/bin:$PATH
。If you need image processing library on Python ...
1 則留言:
MgiocludOin_mo Mickael Hamby https://wakelet.com/wake/OG2GEr0ROvv1Yo17G1ClU
ofafusar
張貼留言