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