【发布时间】:2017-05-25 12:39:15
【问题描述】:
请你帮我运行张量板。
按照here 的说明,我使用 pip install 在虚拟 linux 环境中安装了 tensorflow v1.1。
我正在尝试运行 tensorboard mnist_with_summaries.py 的 mnist 示例
当我从本地环境运行 tensorboard 时,我收到以下错误。 摘要文件存在于指定的文件夹中,我正在尝试从浏览器查看张量板
http://{服务器 ip}:6006
浏览器窗口是空白的
[tensorflow_v1_1] % tensorboard --logdir=/tmp/tensorflow/mnist/logs/mnist_with_summaries
Starting TensorBoard 47 at http://0.0.0.0:6006
(Press CTRL+C to quit)
WARNING:tensorflow:Deleting accumulator 'test'
WARNING:tensorflow:Deleting accumulator 'train'
WARNING:tensorflow:path ../external/favicon.ico not found, sending 404
WARNING:tensorflow:path ../external/favicon.ico not found, sending 404
----------------------------------------
Exception happened during processing of request from ('{my ip address here}', 36562)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 654, in __init__
self.finish()
File "/usr/lib/python2.7/SocketServer.py", line 713, in finish
self.wfile.close()
File "/usr/lib/python2.7/socket.py", line 283, in close
self.flush()
File "/usr/lib/python2.7/socket.py", line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 32] Broken pipe
----------------------------------------
【问题讨论】:
-
你能提供一个Minimal, Complete, and Verifiable Example吗?您将很难有人尝试梳理上述所有 MNIST 代码来解决此问题。
标签: python tensorflow tensorboard