提交 07e4d7bd 编写于 作者: H heya02

bug_fix

上级 682ab437
...@@ -68,13 +68,13 @@ if [ "$PRED_FILE" ]; then ...@@ -68,13 +68,13 @@ if [ "$PRED_FILE" ]; then
rm -rf $PRED_FILE rm -rf $PRED_FILE
fi fi
PRED_FILE="/tmp/mnist2_feature.part*" TRAINING_FILE="/tmp/mnist2_feature.part*"
if [ ! "$PRED_FILE" ]; then if [ ! "$TRAINING_FILE" ]; then
echo "There is no data in /tmp, please prepare data with "python prepare.py" firstly" echo "There is no data in /tmp, please prepare data with "python prepare.py" firstly"
exit 1 exit 1
else else
echo "There are data for mnist:" echo "There are data for mnist:"
echo "`ls ${PRED_FILE}`" echo "`ls ${TRAINING_FILE}`"
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册