Skip to content

Instantly share code, notes, and snippets.

View digvijayky's full-sized avatar

Dig Vijay Kumar Yarlagadda digvijayky

View GitHub Profile
@digvijayky
digvijayky / installDIGITS
Created July 5, 2017 22:31
Install NVIDIA DIGITS on Ubuntu
#Install DIGITS 4 on Ubuntu 16.04 (Reference: https://github.com/NVIDIA/DIGITS/blob/master/docs/UbuntuInstall.md)
CUDA_REPO_PKG=http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
ML_REPO_PKG=http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/nvidia-machine-learning-repo-ubuntu1604_1.0.0-1_amd64.deb
wget "$CUDA_REPO_PKG" -O /tmp/cuda-repo.deb && sudo dpkg -i /tmp/cuda-repo.deb && rm -f /tmp/cuda-repo.deb
wget "$ML_REPO_PKG" -O /tmp/ml-repo.deb && sudo dpkg -i /tmp/ml-repo.deb && rm -f /tmp/ml-repo.deb
sudo apt-get -y update
sudo apt-get install -y digits
@digvijayky
digvijayky / installPointCloudLibrary.sh
Last active June 23, 2017 17:04
installPointCloudLibrary
# Download and install PCL
tar xvfj pcl-pcl-1.8.0.tar.gz
cd pcl-pcl-1.8.0 && mkdir build && cd build
cmake ..
make -j2
sudo make -j2 install
# Install PCL dependencies
sudo apt-get install libeigen3-dev
sudo apt-get install libflann-dev
@digvijayky
digvijayky / installUbuntuForDL
Last active March 3, 2017 21:14
Install Ubuntu OS for Deep Learning Machine with Nvidia Pascal Titan X
#Download Ubuntu 14.04
#Setup boot options to UEFI mode
#Disable nouveau
#Press e on Ubuntu install screen to bring up boot loader options and add "nomodeset" on the line with ending with "quiet splash" (add nomodeset before quiet splash)
#(Only if above doesn't work) Add the following flags too: nouveau.blacklist=1 nouveau.modeset=0
#Restart the computer
#You will get to install screen
#install Ubuntu and restart your computer
#After restarting, you need to enter to the boot options again by pressing e or holding shift and you will get the options, install Ubuntu
#Press e while on install Ubuntu option and you will get to the boot loader
@digvijayky
digvijayky / installOpenSlide.sh
Last active February 28, 2024 17:44
Install OpenSlide python library
#!/bin/bash
#Installation on Linux
apt-get install openslide-tools
pip install Pillow
pip install openslide-python
#If you are unable to import openslide or any of its functions in Python, then go to directory where openslide is installed by pip e.g., /usr/local/lib/python2.7/dist-packages/openslide, open python and you will be able to import it.
#Installation on Windows
#Obtain OpenSlide Windows Binaries (Corresponding Sources) at http://openslide.org/download/#windows-binaries
@digvijayky
digvijayky / installTF.sh
Last active September 26, 2019 10:47
Tensorflow installation on Bash on Ubuntu on Windows
#!/bin/bash
#Bash script for installing Tensorflow(GPU Enabled), CUDA 7.5 and cuDNN v5 on Bash on Ubuntu on Windows
#Prerequisites:
#Make this script executable using command "chmod +x installTF.sh"
#Download cuDNN v5 for CUDA 7.5 from website https://developer.nvidia.com/cudnn
#After downloading cuDNN v5 from NVIDIA developers website, run this script using command "sudo sh installTF.sh"
#Install nvidia drivers
sudo apt-get install nvidia-367
#Install CUDA-7.5
sudo apt-get install cuda-7.5