From 7f35483e881e9080dc51d03bb3ae6743593a4f91 Mon Sep 17 00:00:00 2001 From: ThomasDelteil Date: Wed, 21 Mar 2018 20:44:23 -0700 Subject: [PATCH] Update script to use new im2rec command line arguments As changed here: https://github.com/apache/incubator-mxnet/commit/89b4fa0648405d755355957f99a2c794a3555f46 --- example/image-classification/data/caltech256.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/image-classification/data/caltech256.sh b/example/image-classification/data/caltech256.sh index 3fc329a9b835..187d026f801b 100755 --- a/example/image-classification/data/caltech256.sh +++ b/example/image-classification/data/caltech256.sh @@ -46,8 +46,8 @@ done # generate lst files CUR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" MX_DIR=${CUR_DIR}/../../../ -python ${MX_DIR}/tools/im2rec.py --list True --recursive True caltech256-train ${TRAIN_DIR}/ -python ${MX_DIR}/tools/im2rec.py --list True --recursive True caltech256-val 256_ObjectCategories/ +python ${MX_DIR}/tools/im2rec.py --list --recursive caltech256-train ${TRAIN_DIR}/ +python ${MX_DIR}/tools/im2rec.py --list --recursive caltech256-val 256_ObjectCategories/ mv caltech256-train_train.lst caltech256-train.lst rm caltech256-train_* mv caltech256-val_train.lst caltech256-val.lst