Setting up a Deep Learning Machine from Scratch (Software)

A detailed guide to setting up your machine for deep learning research. Includes instructions to install drivers, tools and various deep learning frameworks. This was tested on a 64 bit machine with Nvidia Titan X, running Ubuntu 14.04

There are several great guides with a similar goal. Some are limited in scope, while others are not up to date. This guide is based on (with some portions copied verbatim from): * Caffe Installation for Ubuntu * Running a Deep Learning Dream Machine

Table of Contents

Basics

Nvidia Drivers

CUDA

Checking your CUDA Installation (Optional)

Note: (-j $(($(nproc) + 1))) executes the make command in parallel using the number of cores in your machine, so the compilation is faster

cuDNN

Check

Tensorflow

OpenBLAS

Common Tools

Caffe

Theano

Keras

Torch

X2Go