This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Download deb file from : | |
# https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v7.5.0.56/prod/10.1_20190225/Ubuntu14_04-x64/libcudnn7_7.5.0.56-1%2Bcuda10.1_amd64.deb | |
# https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v7.5.0.56/prod/10.1_20190225/Ubuntu14_04-x64/libcudnn7-dev_7.5.0.56-1%2Bcuda10.1_amd64.deb | |
sudo dpkg -i libcudnn7_7.5.0.56-1+cuda10.1_amd64.deb | |
sudo dpkg -i libcudnn7-dev_7.5.0.56-1+cuda10.1_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Download this CUDA deb https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda-repo-ubuntu1404-10-1-local-10.1.105-418.39_1.0-1_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1404-10-1-local-10.1.105-418.39_1.0-1_amd64.deb | |
sudo apt-key add /var/cuda-repo-10-1-local-10.1.105-418.39/7fa2af80.pub | |
sudo apt-get update | |
sudo apt-get install cuda | |
export PATH=/usr/local/cuda-10.1/bin:/usr/local/cuda-10.1/NsightCompute-2019.1${PATH:+:${PATH}} | |
export LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64\ | |
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Download Opencv from https://github.com/opencv/opencv/archive/3.4.5.zip | |
# Extract the zip file into ~/ directory, in this case we have a folder ~/opencv-3.4.5/ | |
# https://docs.opencv.org/3.4.5/d7/d9f/tutorial_linux_install.html | |
sudo apt-get install build-essential | |
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev | |
sudo apt-get install cmake-qt-gui | |
cd ~/opencv-3.4.5/ | |
mkdir build | |
cd build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install python-pip | |
sudo -H pip install augmentor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# KEEP UBUNTU OR DEBIAN UP TO DATE | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade | |
sudo apt-get -y autoremove | |
# INSTALL THE DEPENDENCIES |