Skip to content

Instantly share code, notes, and snippets.

@imjamespond
Created April 8, 2018 03:26
Show Gist options
  • Save imjamespond/4bf91f0ad92b850c5923c13681605e6a to your computer and use it in GitHub Desktop.
Save imjamespond/4bf91f0ad92b850c5923c13681605e6a to your computer and use it in GitHub Desktop.
# openpose-test
sudo apt-get purge nvidia*
sudo ubuntu-drivers devices
sudo apt-get install nvidia-384
#cuda
sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64-deb
sudo apt-get update
sudo apt-get install cuda
#cudnn
tar xzvf /media/jimmy/Data/tools/nvdia/cudnn-8.0-linux-x64-v5.1.tgz
sudo vim.tiny /etc/ld.so.conf
sudo ldconfig
sudo ldconfig -p|grep cud
#opencv
sudo apt-get install libopencv-dev
#issues
numpy/arrayobject.h not found
make sure PYTHON_LIB is set correctly in two Makefile.config.Ubuntu16_cuda8.example files
cuda not found
make sure cuda dir is set correctly in two Makefile.config.Ubuntu16_cuda8.example files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment