Debugging tensorboard--调试不显示任何信息

Debugging tensorboard--调试不显示任何信息,debugging,tensorboard,Debugging,Tensorboard,我有Win7 x64、TensorFlow(GPU)1.3.0、TensorBoard 0.1.5、Python 3.6、CUDA 8.0 Tensorboard工作正常,但当我尝试--debug时,Tensorboard说没有额外的行/输出。 对吗 D:>tensorboard --logdir=tr:C:\Users\Martin\tmp.tf\04_hist --debug 注意:“tr:”是Win的解决方法。对于我来说,默认情况下在Windows操作系统中使用--debug选项,

我有Win7 x64、TensorFlow(GPU)1.3.0、TensorBoard 0.1.5、Python 3.6、CUDA 8.0 Tensorboard工作正常,但当我尝试--debug时,Tensorboard说没有额外的行/输出。
对吗

D:>tensorboard --logdir=tr:C:\Users\Martin\tmp.tf\04_hist --debug

注意:“
tr:
”是Win的解决方法。

对于我来说,默认情况下在Windows操作系统中使用
--debug
选项,我只在出现警告时看到消息

(3.5-n) C:\soft\Miniconda3>tensorboard --logdi=test:D:\Projects\logs\2 --debug
TensorBoard 0.1.7 at http://PDESK:6006 (Press CTRL+C to quit)
W1013 13:42:00.471421 Reloader tf_logging.py:86] Found more than one graph event per run, or there was a metagraph containing a graph_def, as well as one or more graph events.  Overwriting the graph with the newest event.
W1013 13:42:00.510424 Reloader tf_logging.py:86] Found more than one graph event per run, or there was a metagraph containing a graph_def, as well as one or more graph events.  Overwriting the graph with the newest event.

大概-您希望将tf_调试与tensorflow一起使用

所以您希望将--debug传递到运行tensorflow python代码的python命令中。python mnist.py

凯拉斯

from keras import backend as K


def set_debugger_session():
    sess = K.get_session()
    sess = tf_debug.LocalCLIDebugWrapperSession(sess)
    sess.add_tensor_filter('has_inf_or_nan', has_inf_or_nan)
    K.set_session(sess)
或查找TensorBoardeBugWrapperSession

sess = tf_debug.TensorBoardDebugWrapperSession(sess, "127.0.0.0:6006")
python debug_minst.py——调试触发tfdbg解释器

因为您提到了tensorboard——您可能对tensorboard调试插件感兴趣。我还没有让它工作-但如果你不能让它工作-在这里问另一个问题,所以