Skip to content

Commit 690a74e

Browse files
committed
o Use p1b1 from supervisor branch.
o Run only two cases for this one (USER must increase this to run more cases)
1 parent f80f906 commit 690a74e

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

workflows/p1b1_grid/data/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"parameters":
33
{
44
"1": [2,4],
5-
"2": [5, 6, 7]
5+
"2": [5]
66
}
77
}

workflows/p1b1_grid/python/evaluateOne.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
import p1b1_baseline
2+
import p1b1_baseline_keras2
33
import p1b1
44

55
if (len(sys.argv) < 3):
@@ -28,7 +28,7 @@
2828
print ("Done loading Xtrain and Xtest")
2929

3030
print ("Running p1b1 for epochs ", epochs)
31-
encoder, decoder, history = p1b1_baseline.run_p1b1(X_train, X_test, epochs=epochs, batch_size=batch_size)
31+
encoder, decoder, history = p1b1_baseline_keras2.run_p1b1(X_train, X_test, epochs=epochs, batch_size=batch_size)
3232
print ("Done running p1b1 for epochs ", epochs)
3333

3434
# works around this error:

workflows/p1b1_grid/swift/run

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Usage: ./run
44
#
55

6-
#### set this variable to your P1B1 benchmark directory
7-
P1B1_DIR=/home/jain/Benchmarks/Pilot1/P1B1
6+
#### set this variable to your P1B1 benchmark directory (supervisor branch)
7+
P1B1_DIR=/home/jain/newCANDLE/Benchmarks/Pilot1/P1B1
88
###
99

1010
THIS=$( cd $( dirname $0 ); /bin/pwd )
@@ -20,9 +20,10 @@ export PYTHONPATH=$PYTHONPATH:$PROJECT_ROOT/python:$P1B1_DIR
2020
echo $PYTHONPATH
2121

2222
### set the desired number of processors
23-
PROCS=2
23+
PROCS=3
2424
###
2525

2626
# remove -l option for removing printing processors ranks
27+
# settings.json file has all the parameter combinations to be tested
2728
echo swift-t -n $PROCS $APP_HOME/run-sweep.swift $*
28-
swift-t -l -n $PROCS $APP_HOME/run-sweep.swift $* --settings=$PWD/../data/settings.json
29+
swift-t -l -n $PROCS $APP_HOME/run-sweep.swift $* --settings=$PWD/../data/settings.json

0 commit comments

Comments
 (0)