!3762 fix googlenet script

Merge pull request !3762 from panfengfeng/fix_googlenet_scripts
pull/3762/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 3119aaccfd

@ -41,5 +41,11 @@ mkdir ../train
cd ../train || exit
export CUDA_VISIBLE_DEVICES="$2"
mpirun -n $1 --allow-run-as-root \
python3 ${BASEPATH}/../train.py > train.log 2>&1 &
if [ $1 -gt 1 ]
then
mpirun -n $1 --allow-run-as-root \
python3 ${BASEPATH}/../train.py > train.log 2>&1 &
else
python3 ${BASEPATH}/../train.py > train.log 2>&1 &
fi

Loading…
Cancel
Save