提交 cc28a460 编写于 作者: D dengkaipeng

spread train_loop.

上级 2d4b3459
......@@ -99,7 +99,6 @@ def train():
fetch_list = [loss]
def train_loop():
py_reader.start()
smoothed_loss = SmoothedValue()
try:
......@@ -130,7 +129,6 @@ def train():
except fluid.core.EOFException:
py_reader.reset()
train_loop()
save_model('model_final')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册