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

!2568 update run_train.sh of mobilenetv2_quant && resnet50_quant

Merge pull request !2568 from wandongdong/r0.3
...@@ -22,9 +22,9 @@ run_ascend() ...@@ -22,9 +22,9 @@ run_ascend()
exit 1 exit 1
fi fi
if [ ! -d $5 ] if [ ! -d $5 ] && [ ! -f $5 ]
then then
echo "error: DATASET_PATH=$5 is not a directory" echo "error: DATASET_PATH=$5 is not a directory or file"
exit 1 exit 1
fi fi
......
...@@ -22,9 +22,9 @@ run_ascend() ...@@ -22,9 +22,9 @@ run_ascend()
exit 1 exit 1
fi fi
if [ ! -d $5 ] if [ ! -d $5 ] && [ ! -f $5 ]
then then
echo "error: DATASET_PATH=$5 is not a directory" echo "error: DATASET_PATH=$5 is not a directory or file"
exit 1 exit 1
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册