-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/ECP-CANDLE/Benchmarks
- Loading branch information
Showing
4 changed files
with
72 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# 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 | ||
|
||
# Install additional modules for Pilot2 benchmarks | ||
conda install -c conda-forge opencv | ||
conda install -c conda-forge tqdm | ||
conda update -c conda-forge numpy | ||
|
||
# Download the source files for the benchmarks | ||
git clone https://github.com/ECP-Candle/benchmarks | ||
|
||
# Run the Pilot1 benchmarks | ||
pushd benchmarks/Pilot1/P1B1/ | ||
python p1b1_baseline_keras2.py | ||
popd | ||
|
||
pushd benchmarks/Pilot1/P1B2/ | ||
python p1b2_baseline_keras2.py | ||
popd | ||
|
||
pushd benchmarks/Pilot1/P1B3/ | ||
python p1b3_baseline_keras2.py | ||
popd | ||
|
||
# Run the Pilot2 benchmarks | ||
pushd benchmarks/Pilot2/P2B1/ | ||
python p2b1_baseline_keras1.py | ||
popd | ||
|
||
pushd benchmarks/Pilot2/P2B2/ | ||
python p2b2_baseline_keras1.py | ||
popd | ||
|
||
# Run the Pilot3 benchmarks | ||
pushd benchmarks/Pilot3/P3B1/ | ||
python p3b1_baseline_keras2.py | ||
popd | ||
|
||
pushd benchmarks/Pilot3/P3B2/ | ||
python p3b2_baseline_keras2.py | ||
popd | ||
|