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 0a9cb9fb86..1720adde1a 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 1d709a7b71..e05dbc9965 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 c3713cbc4a..d3e3df9806 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 9f4e238dbb..4f3eda190b 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 f9234cf822..f494467a7c 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 7f79487843..a946328b33 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 &