提交 9b4612f8 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!1997 fix bug for ssd

Merge pull request !1997 from chengxb7532/cxb_st
......@@ -29,6 +29,8 @@ then
fi
# Before start distribute train, first create mindrecord files.
BASE_PATH=$(cd "`dirname $0`" || exit; pwd)
cd $BASE_PATH/../ || exit
python train.py --only_create_dataset=1
echo "After running the scipt, the network runs in the background. The log will be generated in LOGx/log.txt"
......@@ -46,8 +48,8 @@ do
export DEVICE_ID=$i
rm -rf LOG$i
mkdir ./LOG$i
cp ../*.py ./LOG$i
cp -r ../src ./LOG$i
cp ./*.py ./LOG$i
cp -r ./src ./LOG$i
cd ./LOG$i || exit
export RANK_ID=$i
echo "start training for rank $i, device $DEVICE_ID"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册