Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TensorBoard not working

I'm able to use TensorFlow just fine. But I can't yet use TensorBoard at all. I'm following the instructions on tensorflow.org's Visualizing Learning page.

When I run

tensorboard --logdir=/tmp/mnist_logs --debug

I get the following

INFO:tensorflow:TensorBoard is in debug mode.
INFO:tensorflow:Starting TensorBoard in directory /private/tmp/mnist_logs
INFO:tensorflow:TensorBoard path_to_run is: {'/tmp/mnist_logs': None}
INFO:tensorflow:Adding events from directory /tmp/mnist_logs
INFO:tensorflow:Constructing EventAccumulator for /tmp/mnist_logs
DEBUG:tensorflow:Opening a record reader pointing at /tmp/mnist_logs/events.out.tfevents.1457792617.Rafaels-MacBook-Air
WARNING:tensorflow:IOError [Errno 2] No such file or directory: '/usr/local/lib/python3.5/site-packages/tensorflow/tensorboard/TAG' on path /usr/local/lib/python3.5/site-packages/tensorflow/tensorboard/TAG
WARNING:tensorflow:Unable to read TensorBoard tag
Starting TensorBoard  on port 6006
(You can navigate to http://0.0.0.0:6006)
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1457792617.Rafaels-MacBook-Air
INFO:tensorflow:No more files in /tmp/mnist_logs
DEBUG:tensorflow:No more events in /tmp/mnist_logs/events.out.tfevents.1457792617.Rafaels-MacBook-Air
INFO:tensorflow:No more files in /tmp/mnist_logs
INFO:tensorflow:Multiplexer done loading. Load took 0.9 secs

If I nagivate to http://0.0.0.0:6006, I see a blank white page.

[Stack: OSX, Google Chrome, Python 3, TensorFlow installed via pip]

like image 468
rafaelcosman Avatar asked Mar 12 '16 18:03

rafaelcosman


People also ask

What port does TensorBoard use?

where the -p 6006 is the default port of TensorBoard.

How do I launch TensorBoard from Jupyter notebook?

In the navigation pane, click Workspaces, then select Jupyter and launch a new workspace. From the Files tab in the workspace, click New > Tensorboard. You can access TensorBoard from the Running tab.


2 Answers

Try navigating to localhost:6006 instead (equivalent to http://127.0.0.1:6006/).

It works fine for me while http://0.0.0.0:6006 yields no result.

like image 102
Nicolas Ivanov Avatar answered Oct 16 '22 15:10

Nicolas Ivanov


I had a similar issue with TensorBoard 1.4 (no errors on start but black page in browser). In my case it helped to set the host explicitly to 127.0.0.1 with --host

like image 27
Alex Oprea Avatar answered Oct 16 '22 15:10

Alex Oprea