-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.setup.mac
More file actions
29 lines (22 loc) · 929 Bytes
/
README.setup.mac
File metadata and controls
29 lines (22 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Set up your python environment
# ------------------------------
# Download the Anaconda installer
curl -o Anaconda2-4.3.1-MacOSX-x86_64.sh https://repo.continuum.io/archive/Anaconda2-4.3.1-MacOSX-x86_64.sh
# Make the installer executable
chmod u+x ./Anaconda2-4.3.1-MacOSX-x86_64.sh
# Run the installer, accepting the defaults.
./Anaconda2-4.3.1-MacOSX-x86_64.sh
# Add anaconda2/bin to your path (assumes default install location)
export PATH=$HOME/anaconda2/bin:$PATH
# Install additonal modules not shipped with Anaconda
conda install -c conda-forge tensorflow
conda install -c anaconda hdf5=1.8.17
conda install -c anaconda theano
conda install -c conda-forge keras=2
# Download the source files for the tutorial
git clone https://github.com/ECP-Candle/workshop
# Run candle benchmark P1B1 as a test
git clone https://github.com/ECP-Candle/benchmarks
pushd benchmarks/Pilot1/P1B1/
python p1b1_baseline_keras2.py
popd