@@ -16,29 +16,18 @@ export PATH=$HOME/anaconda2/bin:$PATH
16
16
# Install additonal modules not shipped with Anaconda
17
17
conda install -c conda-forge tensorflow
18
18
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
21
21
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
22
26
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
39
28
git clone https://github.com/ECP-Candle/benchmarks
40
29
41
- # Run the Pilot1 benchmark
30
+ # Run the Pilot1 benchmark
42
31
pushd benchmarks/Pilot1/P1B1/
43
32
python p1b1_baseline_keras2.py
44
33
popd
@@ -52,8 +41,6 @@ python p1b3_baseline_keras2.py
52
41
popd
53
42
54
43
# Run the Pilot2 benchmarks
55
- source activate keras1
56
-
57
44
pushd benchmarks/Pilot2/P2B1/
58
45
python p2b1_baseline_keras1.py
59
46
popd
@@ -62,8 +49,6 @@ pushd benchmarks/Pilot2/P2B2/
62
49
python p2b2_baseline_keras1.py
63
50
popd
64
51
65
- source deactivate keras1
66
-
67
52
# Run the Pilot3 benchmarks
68
53
pushd benchmarks/Pilot3/P3B1/
69
54
python p3b1_baseline_keras2.py
0 commit comments