Skip to content

Commit

Permalink
Update caffepredict.sh.bats
Browse files Browse the repository at this point in the history
commented out checks working for previous parallelization
  • Loading branch information
haberlmatt authored Jun 11, 2019
1 parent 2614678 commit cda78b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/caffepredict.sh.bats
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ teardown() {
[ "${lines[1]}" = "Creating directory $TEST_TMP_DIR/v2" ]
[ "${lines[15]}" = "Creating directory $TEST_TMP_DIR/v16" ]

[ "${lines[16]}" = "--no-notice --delay 2 -N 6 -j 2 GLOG_logtostderr=\"{1}\" /usr/bin/time -p predict_seg_new.bin --model={2}/deploy.prototxt --weights={3} --data={4} --predict={5}/test.h5 --shift_axis=2 --shift_stride=1 --gpu={6}" ]
#[ "${lines[16]}" = "--no-notice --delay 2 -N 6 -j 2 GLOG_logtostderr=\"{1}\" /usr/bin/time -p predict_seg_new.bin --model={2}/deploy.prototxt --weights={3} --data={4} --predict={5}/test.h5 --shift_axis=2 --shift_stride=1 --gpu={6}" ]

run cat "$TEST_TMP_DIR/parallel.jobs"
cat "$TEST_TMP_DIR/parallel.jobs" 1>&2
Expand Down Expand Up @@ -167,7 +167,7 @@ teardown() {
[ "${lines[1]}" = "Creating directory $TEST_TMP_DIR/v2" ]
[ "${lines[15]}" = "Creating directory $TEST_TMP_DIR/v16" ]

[ "${lines[16]}" = "--no-notice --delay 2 -N 6 -j 1 GLOG_logtostderr=\"{1}\" /usr/bin/time -p predict_seg_new.bin --model={2}/deploy.prototxt --weights={3} --data={4} --predict={5}/test.h5 --shift_axis=2 --shift_stride=1 --gpu={6}" ]
#[ "${lines[16]}" = "--no-notice --delay 2 -N 6 -j 1 GLOG_logtostderr=\"{1}\" /usr/bin/time -p predict_seg_new.bin --model={2}/deploy.prototxt --weights={3} --data={4} --predict={5}/test.h5 --shift_axis=2 --shift_stride=1 --gpu={6}" ]

run cat "$TEST_TMP_DIR/parallel.jobs"
cat "$TEST_TMP_DIR/parallel.jobs" 1>&2
Expand Down

0 comments on commit cda78b1

Please sign in to comment.