!20856 fix resnet34 training startup failed bug

Merge pull request !20856 from Shawny/resnet34_bugfix
This commit is contained in:
i-robot 2021-07-28 01:19:55 +00:00 committed by Gitee
commit d22f56d775
2 changed files with 5 additions and 5 deletions

View File

@ -37,10 +37,10 @@ ResNet34的总体网络架构如下[链接](https://arxiv.org/pdf/1512.03385.
- 硬件
- 准备Ascend处理器搭建硬件环境。
- 框架
- [MindSpore](https://www.mindspore.cn/install/en)
- [MindSpore](https://www.mindspore.cn/install)
- 如需查看详情,请参见如下资源:
- [MindSpore教程](https://www.mindspore.cn/tutorial/training/zh-CN/master/index.html)
- [MindSpore Python API](https://www.mindspore.cn/doc/api_python/zh-CN/master/index.html)
- [MindSpore教程](https://www.mindspore.cn/tutorials/zh-CN/master/index.html)
- [MindSpore Python API](https://www.mindspore.cn/docs/api/zh-CN/master/index.html)
# 快速入门

View File

@ -64,12 +64,12 @@ do
if [ $# == 2 ]
then
python train.py --run_distribute=True --data_url=$PATH2 &> train.log &
python train.py --run_distribute=True --device_num=$PATH1 --data_url=$PATH2 &> train.log &
fi
if [ $# == 3 ]
then
python train.py --run_distribute=True --data_url=$PATH2 --pre_trained=$PATH3 &> train.log &
python train.py --run_distribute=True --device_num=$PATH1 --data_url=$PATH2 --pre_trained=$PATH3 &> train.log &
fi
cd ../