Skip to content

Commit c37ae36

Browse files
committed
Added support for dataset customization
1 parent c627b4a commit c37ae36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

single_stage_detector/ssd/run_and_time.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ BATCHSIZE=${BATCHSIZE:-2}
3636
EVALBATCHSIZE=${EVALBATCHSIZE:-${BATCHSIZE}}
3737
NUMEPOCHS=${NUMEPOCHS:-30}
3838
LOG_INTERVAL=${LOG_INTERVAL:-20}
39+
DATASET=${DATASET:-"openimages-mlperf"}
3940
DATASET_DIR=${DATASET_DIR:-"/datasets/open-images-v6-mlperf"}
4041
TORCH_HOME=${TORCH_HOME:-"$(pwd)/torch-model-cache"}
4142

@@ -85,6 +86,7 @@ PARAMS=(
8586
--eval-batch-size "${EVALBATCHSIZE}"
8687
--epochs "${NUMEPOCHS}"
8788
--print-freq "${LOG_INTERVAL}"
89+
--dataset "${DATASET}"
8890
--data-path "${DATASET_DIR}"
8991
)
9092

0 commit comments

Comments
 (0)