Code Monkey home page Code Monkey logo

digits's Introduction

DiGiTS (Deep GPU Training System)

DiGiTS is is a webapp for training deep learning models.

Installation

We install and run DiGiTS on Ubuntu 14.04. We have successfully run DiGiTS on other Linux variants as well as OSX but at this time, only Ubuntu 14.04 is supported.

Prerequisites

DiGiTS has several dependencies.

  • CUDA
  • cuDNN library
  • Caffe โ€“ NVIDIA branch (version 0.10.0 or higher)
  • Python packages
  • Graphviz
  1. CUDA (Either 6.5 or 7.0)
  • Download from the CUDA website and follow the installation instructions.
  1. cuDNN (v2 Release Candidate 3 required)
  • Download from the cuDNN website and follow the installation instructions.
  1. NVIDIA branch of Caffe (NVIDIA version 0.10.0)

Full installation directions are at Caffe. Condensed version is as follows:

Install caffe:

% sudo apt-get install git
% cd $HOME
% git clone --branch v0.10.0 https://github.com/NVIDIA/caffe.git
% cd caffe
% sudo apt-get install libatlas-base-dev libatlas-dev libboost-all-dev libopencv-dev
% sudo apt-get install libprotobuf-dev libgoogle-glog-dev libgflags-dev protobuf-compiler
% sudo apt-get install libhdf5-dev libleveldb-dev liblmdb-dev libsnappy-dev
% sudo apt-get install python-pip gfortran
% cd python
% for req in $(cat requirements.txt); do sudo pip install $req; done

Build caffe:

% cd $HOME/caffe
% cp Makefile.config.example Makefile.config
% make all
% make py
% make test
% make runtest

Set environment variables:

% export CAFFE_HOME=${HOME}/caffe

Install DiGiTS

% cd $HOME
% git clone https://github.com/NVIDIA/DIGITS.git digits
% cd digits
% sudo apt-get install graphviz gunicorn
% for req in $(cat requirements.txt); do sudo pip install $req; done

Starting the server

You can run DiGiTS in two ways:

  1. digits-devserver Starts a development server that listens on port 5000 (but you can change the port if you like - try running it with the --help flag).

  2. digits-server Starts a gunicorn app that listens on port 8080. If you have installed the nginx.site to your nginx sites-enabled/ directory, then you can view your app at http://localhost/.

Then, check out the Getting Started page.

digits's People

Contributors

lukeyeager avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.