tensorflow 1.8.0调试器错误

时间:2018-06-15 23:47:01

标签: debugging tensorflow

我正在尝试使用this调试器。

在我安装syntaxnet之前,它运作良好。在安装之后,我在我的代码上运行调试器(自使用了lust调试器后没有更改),并且在第一个运行命令之后它失败并显示以下消息:

Traceback (most recent call last):
    File "run.py", line 290, in <module>
        runner.fit(preprocessed_data=[data, raw_data])
File "run.py", line 165, in fit
    max_grad_norm=self.max_grad_norm)
File "/mnt/D/memn2n/memn2n.py", line 140, in __init__
    self._sess.run(init_op)
File "/home/pavel/anaconda2/lib/python2.7/site-packages/tensorflow/python/debug/wrappers/framework.py", line 550, in run
    run_end_resp = self.on_run_end(run_end_req)
File "/home/pavel/anaconda2/lib/python2.7/site-packages/tensorflow/python/debug/wrappers/local_cli_wrapper.py", line 333, in on_run_end
    self._dump_root, partition_graphs=partition_graphs)
File "/home/pavel/anaconda2/lib/python2.7/site-packages/tensorflow/python/debug/lib/debug_data.py", line 493, in __init__
    self._load_core_metadata()
File "/home/pavel/anaconda2/lib/python2.7/site-packages/tensorflow/python/debug/lib/debug_data.py", line 591, in _load_core_metadata
    extract_core_metadata_from_event_proto(event))
File "/home/pavel/anaconda2/lib/python2.7/site-packages/tensorflow/python/debug/lib/debug_data.py", line 243, in extract_core_metadata_from_event_proto
    json_metadata["session_run_index"],
KeyError: 'session_run_index'

如果我不运行调试器,代码可以运行。
Python 2.7.14,tensorflow 1.8.0的版本,就像在syntaxnet安装之前一样。

0 个答案:

没有答案