335 Star 1.5K Fork 861

MindSpore / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_with_mpi.sh 751 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# applicable to Ascend
echo "=============================================================================================================="
echo "Please run the script as: "
echo "bash run_gpu.sh DATA_PATH"
echo "For example: bash run_with_mpi.sh /path/dataset"
echo "It is better to use the absolute path."
echo "=============================================================================================================="
set -e
export DATA_PATH=${DATA_PATH:-$1}
rm -rf device
mkdir device
cp ./resnet50_distributed_training.py ./resnet.py ./device
cd ./device
echo "start training"
mpirun -n 8 --output-filename log_output --merge-stderr-to-stdout pytest -s -v ./resnet50_distributed_training.py > train.log 2>&1 &
1
https://gitee.com/mindspore/docs.git
git@gitee.com:mindspore/docs.git
mindspore
docs
docs
r1.9

搜索帮助