提交 38a6c047 编写于 作者: T tangwei

Merge branch 'master' of https://github.com/PaddlePaddle/PaddleRec into multi_phase

...@@ -196,7 +196,7 @@ class Trainer(object): ...@@ -196,7 +196,7 @@ class Trainer(object):
self._status_processor[context['status']](context) self._status_processor[context['status']](context)
else: else:
self.other_status_processor(context) self.other_status_processor(context)
except Exception, err: except Exception as err:
traceback.print_exc() traceback.print_exc()
print('Catch Exception:%s' % str(err)) print('Catch Exception:%s' % str(err))
sys.stdout.flush() sys.stdout.flush()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册