From cda78b1a71293b7b34e1738111726c226195d12a Mon Sep 17 00:00:00 2001 From: haberlmatt Date: Tue, 11 Jun 2019 22:49:09 +0100 Subject: [PATCH] Update caffepredict.sh.bats commented out checks working for previous parallelization --- tests/caffepredict.sh.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/caffepredict.sh.bats b/tests/caffepredict.sh.bats index 1865d67..5c1ccd8 100644 --- a/tests/caffepredict.sh.bats +++ b/tests/caffepredict.sh.bats @@ -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 @@ -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