From e830c209d68bf0bf5fd748ed13a029b36656648f Mon Sep 17 00:00:00 2001 From: ms_yan Date: Sun, 25 Apr 2021 17:20:09 +0800 Subject: [PATCH] use bash to run script --- model_zoo/official/cv/resnet/scripts/run_distribute_train.sh | 2 +- .../official/cv/resnet/scripts/run_distribute_train_gpu.sh | 2 +- model_zoo/official/cv/resnet/scripts/run_standalone_train.sh | 2 +- .../official/cv/resnet/scripts/run_standalone_train_gpu.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/model_zoo/official/cv/resnet/scripts/run_distribute_train.sh b/model_zoo/official/cv/resnet/scripts/run_distribute_train.sh index aa2fe3d9aa..b68aebacaf 100755 --- a/model_zoo/official/cv/resnet/scripts/run_distribute_train.sh +++ b/model_zoo/official/cv/resnet/scripts/run_distribute_train.sh @@ -14,7 +14,7 @@ # limitations under the License. # ============================================================================ -. cache_util.sh +bash cache_util.sh if [ $# != 4 ] && [ $# != 5 ] && [ $# != 6 ] then diff --git a/model_zoo/official/cv/resnet/scripts/run_distribute_train_gpu.sh b/model_zoo/official/cv/resnet/scripts/run_distribute_train_gpu.sh index 4a31115f96..4bfa660869 100755 --- a/model_zoo/official/cv/resnet/scripts/run_distribute_train_gpu.sh +++ b/model_zoo/official/cv/resnet/scripts/run_distribute_train_gpu.sh @@ -14,7 +14,7 @@ # limitations under the License. # ============================================================================ -. cache_util.sh +bash cache_util.sh if [ $# != 3 ] && [ $# != 4 ] && [ $# != 5 ] then diff --git a/model_zoo/official/cv/resnet/scripts/run_standalone_train.sh b/model_zoo/official/cv/resnet/scripts/run_standalone_train.sh index a89e6f43c6..c927d049d8 100755 --- a/model_zoo/official/cv/resnet/scripts/run_standalone_train.sh +++ b/model_zoo/official/cv/resnet/scripts/run_standalone_train.sh @@ -14,7 +14,7 @@ # limitations under the License. # ============================================================================ -. cache_util.sh +bash cache_util.sh if [ $# != 3 ] && [ $# != 4 ] && [ $# != 5 ] then diff --git a/model_zoo/official/cv/resnet/scripts/run_standalone_train_gpu.sh b/model_zoo/official/cv/resnet/scripts/run_standalone_train_gpu.sh index 830bf1c331..bd4c3aa736 100755 --- a/model_zoo/official/cv/resnet/scripts/run_standalone_train_gpu.sh +++ b/model_zoo/official/cv/resnet/scripts/run_standalone_train_gpu.sh @@ -14,7 +14,7 @@ # limitations under the License. # ============================================================================ -. cache_util.sh +bash cache_util.sh if [ $# != 3 ] && [ $# != 4 ] then