提交 be59d7a4 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

fix error message formatting in session_manager.py

Change: 117285646
上级 127d17a7
......@@ -163,8 +163,8 @@ class SessionManager(object):
sess.run(init_op, feed_dict=init_feed_dict)
not_ready = self._model_not_ready(sess)
if not_ready:
raise RuntimeError("Init operation '%s' did not make model ready: %s",
init_op.name, not_ready)
raise RuntimeError("Init operation '%s' did not make model ready: %s"
% (init_op.name, not_ready))
return sess
def recover_session(self, master, saver=None, checkpoint_dir=None,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册