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

bug_fix

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