提交 0edacce6 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!4053 remove other MINDSPORE_HCCL in model_zoo and fix text error

Merge pull request !4053 from panbingao/master
......@@ -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.
```
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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"
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册