Skip to content
Leonard Truong edited this page Mar 27, 2015 · 7 revisions

virtualenv

Setup virtualenvwrapper.

$ pip install virtualenvwrapper
...
$ export WORKON_HOME=~/.envs
$ mkdir -p $WORKON_HOME
$ source /usr/local/bin/virtualenvwrapper.sh

Also add the following to your shell startup file. (like .bashrc or .zshrc)

export WORKON_HOME=~/.envs
source /usr/local/bin/virtualenvwrapper.sh

Install

Non Python Dependencies

  1. lmdb
  2. protobuf

OSX

brew install lmdb protobuf

Setup

$ git clone [email protected]:ucb-sejits/sejits_caffe.git
$ cd sejits_caffe
$ mkvirtualenv sejits_caffe
$ pip install nose
$ workon sejits_caffe  # have to do this to get nosetests in your path
$ pip install -r requirements.txt
$ ./build_clBLAS.sh
$ nosetests
.....
----------------------------------------------------------------------
Ran 5 tests in 14.763s

OK

To develop, remember to

$ workon sejits_caffe

when finished

$ deactivate
Clone this wiki locally