From 19f4c60a633e7e8006aa5f75a6df92e4f104d899 Mon Sep 17 00:00:00 2001 From: wukesong Date: Fri, 18 Dec 2020 16:40:12 +0800 Subject: [PATCH] remove ./ --- .../official/cv/lenet/scripts/run_standalone_eval_ascend.sh | 2 +- model_zoo/official/cv/lenet/scripts/run_standalone_eval_cpu.sh | 2 +- model_zoo/official/cv/lenet/scripts/run_standalone_eval_gpu.sh | 2 +- .../official/cv/lenet/scripts/run_standalone_train_ascend.sh | 2 +- model_zoo/official/cv/lenet/scripts/run_standalone_train_cpu.sh | 2 +- model_zoo/official/cv/lenet/scripts/run_standalone_train_gpu.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/model_zoo/official/cv/lenet/scripts/run_standalone_eval_ascend.sh b/model_zoo/official/cv/lenet/scripts/run_standalone_eval_ascend.sh index 0a9cb9fb869..1720adde1a6 100755 --- a/model_zoo/official/cv/lenet/scripts/run_standalone_eval_ascend.sh +++ b/model_zoo/official/cv/lenet/scripts/run_standalone_eval_ascend.sh @@ -19,4 +19,4 @@ script_self=$(readlink -f "$0") self_path=$(dirname "${script_self}") DATA_PATH=$1 CKPT_PATH=$2 -python -s ${self_path}/../eval.py --data_path=./$DATA_PATH --device_target="Ascend" --ckpt_path=./$CKPT_PATH > log.txt 2>&1 & +python -s ${self_path}/../eval.py --data_path=$DATA_PATH --device_target="Ascend" --ckpt_path=$CKPT_PATH > log.txt 2>&1 & diff --git a/model_zoo/official/cv/lenet/scripts/run_standalone_eval_cpu.sh b/model_zoo/official/cv/lenet/scripts/run_standalone_eval_cpu.sh index 1d709a7b711..e05dbc99652 100755 --- a/model_zoo/official/cv/lenet/scripts/run_standalone_eval_cpu.sh +++ b/model_zoo/official/cv/lenet/scripts/run_standalone_eval_cpu.sh @@ -19,4 +19,4 @@ script_self=$(readlink -f "$0") self_path=$(dirname "${script_self}") DATA_PATH=$1 CKPT_PATH=$2 -python -s ${self_path}/../eval.py --data_path=./$DATA_PATH --device_target="CPU" --ckpt_path=./$CKPT_PATH > log.txt 2>&1 & +python -s ${self_path}/../eval.py --data_path=$DATA_PATH --device_target="CPU" --ckpt_path=$CKPT_PATH > log.txt 2>&1 & diff --git a/model_zoo/official/cv/lenet/scripts/run_standalone_eval_gpu.sh b/model_zoo/official/cv/lenet/scripts/run_standalone_eval_gpu.sh index c3713cbc4a1..d3e3df98065 100755 --- a/model_zoo/official/cv/lenet/scripts/run_standalone_eval_gpu.sh +++ b/model_zoo/official/cv/lenet/scripts/run_standalone_eval_gpu.sh @@ -19,4 +19,4 @@ script_self=$(readlink -f "$0") self_path=$(dirname "${script_self}") DATA_PATH=$1 CKPT_PATH=$2 -python -s ${self_path}/../eval.py --data_path=./$DATA_PATH --device_target="GPU" --ckpt_path=./$CKPT_PATH > log.txt 2>&1 & +python -s ${self_path}/../eval.py --data_path=$DATA_PATH --device_target="GPU" --ckpt_path=$CKPT_PATH > log.txt 2>&1 & diff --git a/model_zoo/official/cv/lenet/scripts/run_standalone_train_ascend.sh b/model_zoo/official/cv/lenet/scripts/run_standalone_train_ascend.sh index 9f4e238dbbc..4f3eda190ba 100755 --- a/model_zoo/official/cv/lenet/scripts/run_standalone_train_ascend.sh +++ b/model_zoo/official/cv/lenet/scripts/run_standalone_train_ascend.sh @@ -19,4 +19,4 @@ script_self=$(readlink -f "$0") self_path=$(dirname "${script_self}") DATA_PATH=$1 CKPT_PATH=$2 -python -s ${self_path}/../train.py --data_path=./$DATA_PATH --device_target="Ascend" --ckpt_path=./$CKPT_PATH > log.txt 2>&1 & \ No newline at end of file +python -s ${self_path}/../train.py --data_path=$DATA_PATH --device_target="Ascend" --ckpt_path=$CKPT_PATH > log.txt 2>&1 & \ No newline at end of file diff --git a/model_zoo/official/cv/lenet/scripts/run_standalone_train_cpu.sh b/model_zoo/official/cv/lenet/scripts/run_standalone_train_cpu.sh index f9234cf8220..f494467a7c9 100755 --- a/model_zoo/official/cv/lenet/scripts/run_standalone_train_cpu.sh +++ b/model_zoo/official/cv/lenet/scripts/run_standalone_train_cpu.sh @@ -19,4 +19,4 @@ script_self=$(readlink -f "$0") self_path=$(dirname "${script_self}") DATA_PATH=$1 CKPT_PATH=$2 -python -s ${self_path}/../train.py --data_path=./$DATA_PATH --device_target="CPU" --ckpt_path=./$CKPT_PATH > log.txt 2>&1 & +python -s ${self_path}/../train.py --data_path=$DATA_PATH --device_target="CPU" --ckpt_path=$CKPT_PATH > log.txt 2>&1 & diff --git a/model_zoo/official/cv/lenet/scripts/run_standalone_train_gpu.sh b/model_zoo/official/cv/lenet/scripts/run_standalone_train_gpu.sh index 7f794878432..a946328b338 100755 --- a/model_zoo/official/cv/lenet/scripts/run_standalone_train_gpu.sh +++ b/model_zoo/official/cv/lenet/scripts/run_standalone_train_gpu.sh @@ -19,4 +19,4 @@ script_self=$(readlink -f "$0") self_path=$(dirname "${script_self}") DATA_PATH=$1 CKPT_PATH=$2 -python -s ${self_path}/../train.py --data_path=./$DATA_PATH --device_target="GPU" --ckpt_path=./$CKPT_PATH > log.txt 2>&1 & +python -s ${self_path}/../train.py --data_path=$DATA_PATH --device_target="GPU" --ckpt_path=$CKPT_PATH > log.txt 2>&1 &