IDSIA / brainstorm

Fast, flexible and fun neural networks.
Other
1.3k stars 154 forks source link

OSX installation documentation #115

Open ericvrp opened 8 years ago

ericvrp commented 8 years ago

https://github.com/IDSIA/brainstorm/blob/master/docs/installation.rst

Says "Instructions coming soon." for OS X. Any idea when "soon" will be? I'd love to play with brainstorm.

Thanks, Eric

sjoerdvansteenkiste commented 8 years ago

The (non-gpu) OS X installation is similar to Linux one. All apt-get calls can be made in brew (with slightly different names). I haven't tried a GPU installation on OS X yet.

As a side note I recommend installing from github, as the PyPi distribution still contains some small bugs.

ericvrp commented 8 years ago

This is what I did to run a non-gpu OS X version:

repo: https://github.com/IDSIA/brainstorm install docs: https://github.com/IDSIA/brainstorm/blob/master/docs/installation.rst

install brew from: http://brew.sh/ probably install from AppStore: XCode

Let brew detect any problems

brew doctor

Install the essentials for a non-GPU (non-Cuda) version

brew install python
pip install brainstorm

optionally

brew install graphviz
pip install pygraphviz bokeh

try an example

git clone https://github.com/IDSIA/brainstorm
cd brainstorm/data
python create_cifar10.py #took 12 minutes on my machine
cd ../examples
python cifar10_cnn.py # will take 20 x 11:30 (one epoch)