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 aa2fe3d9aa0..b68aebacaf8 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 4a31115f968..4bfa660869b 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 a89e6f43c66..c927d049d81 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 830bf1c3316..bd4c3aa736a 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