diff --git a/model_zoo/official/cv/vgg16/README.md b/model_zoo/official/cv/vgg16/README.md index 346738a8faa..4ecd749a746 100644 --- a/model_zoo/official/cv/vgg16/README.md +++ b/model_zoo/official/cv/vgg16/README.md @@ -212,7 +212,7 @@ parameters/options: Usage: sh script/run_distribute_train.sh [RANK_TABLE_FILE] [DATA_PATH] parameters/options: - RANK_TABLE_FILE HCCL configuration file path. + RANK_TABLE_FILE HCCL configuration file path. DATA_PATH the storage path of dataset. ``` diff --git a/model_zoo/official/cv/vgg16/scripts/run_distribute_train.sh b/model_zoo/official/cv/vgg16/scripts/run_distribute_train.sh index 1a9e022fd2f..92359a43863 100755 --- a/model_zoo/official/cv/vgg16/scripts/run_distribute_train.sh +++ b/model_zoo/official/cv/vgg16/scripts/run_distribute_train.sh @@ -22,7 +22,7 @@ fi if [ ! -f $1 ] then - echo "error: RANK_TABLE_FILEH=$1 is not a file" + echo "error: RANK_TABLE_FILE=$1 is not a file" exit 1 fi diff --git a/model_zoo/official/cv/yolov3_darknet53/scripts/run_distribute_train.sh b/model_zoo/official/cv/yolov3_darknet53/scripts/run_distribute_train.sh index fcc0ef28672..f6791821c8d 100644 --- a/model_zoo/official/cv/yolov3_darknet53/scripts/run_distribute_train.sh +++ b/model_zoo/official/cv/yolov3_darknet53/scripts/run_distribute_train.sh @@ -55,7 +55,7 @@ fi export DEVICE_NUM=8 export RANK_SIZE=8 -export RANK_TABLE_FILEH=$RANK_TABLE_FILE +export RANK_TABLE_FILE=$RANK_TABLE_FILE for((i=0; i<${DEVICE_NUM}; i++)) do diff --git a/model_zoo/official/recommend/deepfm/README.md b/model_zoo/official/recommend/deepfm/README.md index 81cb023b974..ab6b1177145 100644 --- a/model_zoo/official/recommend/deepfm/README.md +++ b/model_zoo/official/recommend/deepfm/README.md @@ -44,7 +44,7 @@ The overall network architecture of DeepFM is show below: ### Usage -- sh run_train.sh [DEVICE_NUM] [DATASET_PATH] [MINDSPORE_HCCL_CONFIG_PAHT] +- sh run_train.sh [DEVICE_NUM] [DATASET_PATH] [RANK_TABLE_FILE] - python train.py --dataset_path [DATASET_PATH] ### Launch diff --git a/model_zoo/official/recommend/deepfm/scripts/run_distribute_train.sh b/model_zoo/official/recommend/deepfm/scripts/run_distribute_train.sh index 6da44819d7d..c8c0f1f809f 100644 --- a/model_zoo/official/recommend/deepfm/scripts/run_distribute_train.sh +++ b/model_zoo/official/recommend/deepfm/scripts/run_distribute_train.sh @@ -14,7 +14,7 @@ # limitations under the License. # ============================================================================ echo "Please run the script as: " -echo "sh scripts/run_distribute_train.sh DEVICE_NUM DATASET_PATH MINDSPORE_HCCL_CONFIG_PAHT" +echo "sh scripts/run_distribute_train.sh DEVICE_NUM DATASET_PATH RANK_TABLE_FILE" echo "for example: sh scripts/run_distribute_train.sh 8 /dataset_path /rank_table_8p.json" echo "After running the script, the network runs in the background, The log will be generated in logx/output.log" diff --git a/model_zoo/official/recommend/wide_and_deep/script/run_auto_parallel_train_cluster.sh b/model_zoo/official/recommend/wide_and_deep/script/run_auto_parallel_train_cluster.sh index f3482a4205b..495c4fc40d9 100644 --- a/model_zoo/official/recommend/wide_and_deep/script/run_auto_parallel_train_cluster.sh +++ b/model_zoo/official/recommend/wide_and_deep/script/run_auto_parallel_train_cluster.sh @@ -28,7 +28,6 @@ EMB_DIM=$5 DATASET=$6 ENV_SH=$7 MODE=$8 -export MINDSPORE_HCCL_CONFIG=$9 export RANK_TABLE_FILE=$9 DEVICE_START=0 # shellcheck source=/dev/null