Tensorboard:管道错误和空白页面

时间:2017-05-25 12:39:16

标签: python tensorflow tensorboard

请你能帮助我运行张量板。

按照说明here我使用pip install在虚拟linux环境中安装了tensorflow v1.1。

我正在尝试运行tensorboard mnist_with_summaries.py

的mnist示例

当我从本地环境运行tensorboard时,我收到以下错误。 摘要文件存在于指定的文件夹中,我正在尝试从浏览器中查看tensorboard

http:// {server 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
----------------------------------------

1 个答案:

答案 0 :(得分:0)

同样的事发生在我身上。等待一段时间(tensorboard知道如何恢复)并更新网页。

Exception happened during processing of request from ('127.0.0.1', 51670)
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
----------------------------------------
WARNING:tensorflow: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.
WARNING:tensorflow:Found more than one metagraph event per run. Overwriting the metagraph with the newest event.