Skip to content

Commit f6ffe0b

Browse files
committed
Updated the setup directions for linux now that Pilot2 uses the keras2
APIs.
1 parent f4c63e8 commit f6ffe0b

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

README.setup.linux

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,18 @@ export PATH=$HOME/anaconda2/bin:$PATH
1616
# Install additonal modules not shipped with Anaconda
1717
conda install -c conda-forge tensorflow
1818
conda install -c anaconda hdf5=1.8.17
19-
pip install git+git://github.com/Theano/Theano.git
20-
pip install git+git://github.com/fchollet/keras.git
19+
conda install -c anaconda theano
20+
conda install -c conda-forge keras=2
2121

22+
# Install additional modules for Pilot2 benchmarks
23+
conda install -c conda-forge opencv
24+
conda install -c conda-forge tqdm
25+
conda update -c conda-forge numpy
2226

23-
# Set up special environment for Pilot2 benchmars using keras version 1
24-
# This will go away when Pilot2 benchmarks are upgraded to keras version 2
25-
conda create --name keras1
26-
source activate
27-
conda install opencv
28-
conda install -c conda-forge keras=1
29-
conda install -c conda-forge tensorflow
30-
conda install matplotlib
31-
conda install PIL
32-
conda install tqdm
33-
conda install scikit-learn
34-
conda install mkl-service
35-
36-
source deactivate keras1
37-
38-
# Download the source files for the tutorial
27+
# Download the source files for the benchmarks
3928
git clone https://github.com/ECP-Candle/benchmarks
4029

41-
# Run the Pilot1 benchmark
30+
# Run the Pilot1 benchmark
4231
pushd benchmarks/Pilot1/P1B1/
4332
python p1b1_baseline_keras2.py
4433
popd
@@ -52,8 +41,6 @@ python p1b3_baseline_keras2.py
5241
popd
5342

5443
# Run the Pilot2 benchmarks
55-
source activate keras1
56-
5744
pushd benchmarks/Pilot2/P2B1/
5845
python p2b1_baseline_keras1.py
5946
popd
@@ -62,8 +49,6 @@ pushd benchmarks/Pilot2/P2B2/
6249
python p2b2_baseline_keras1.py
6350
popd
6451

65-
source deactivate keras1
66-
6752
# Run the Pilot3 benchmarks
6853
pushd benchmarks/Pilot3/P3B1/
6954
python p3b1_baseline_keras2.py

0 commit comments

Comments
 (0)