From da1d8da717ccab5c5b5dfa67219ccffbbbb97d67 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Fri, 7 Jun 2024 20:01:42 +0530 Subject: [PATCH] Code clean --- script/get-dataset-coco2014/run.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/script/get-dataset-coco2014/run.sh b/script/get-dataset-coco2014/run.sh index df01f09f0..31c60b52a 100644 --- a/script/get-dataset-coco2014/run.sh +++ b/script/get-dataset-coco2014/run.sh @@ -3,14 +3,13 @@ python3() { ${CM_PYTHON_BIN_WITH_PATH} "$@" } export -f python3 -echo ${CM_PYTHON_BIN_WITH_PATH} + CUR=${PWD} mkdir -p install INSTALL_DIR=${CUR}/install -export -f python3 cd ${CM_RUN_DIR} -echo ${CM_RUN_DIR} + if [[ ${CM_DATASET_CALIBRATION} == "no" ]]; then if [ ! -z ${CM_DATASET_SIZE} ]; then max_images=" -m ${CM_DATASET_SIZE}"