Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TensorBoard Starting but not showing in Browser

Run the code in cells 19 & 23 below to import and pre-process the data.

https://github.com/ageron/handson-ml/blob/master/09_up_and_running_with_tensorflow.ipynb

Then lines 59-64 are run to solve a linear least squares problem, whilst saving the training data for use with tensorboard.

I then use Anaconda prompt to do to the directory where the log files are kept:

I then use Anaconda prompt to run: tensorboard --logdir=\tf_logs

It gives the message Starting TensorBoard b'54' at http://NW1:6006

But when I try to paste that address into a browser it doesn't work?

I've tried various combinations of absolute path names etc, but nothing seems to work. I've also tried specifying the host as 127.0.0.1

tensorboard --logdir=\tf_logs --host=127.0.0.1

But nothing seems to work! The webpage is completely blank.

I'm running windows 8.1
Internet Explorer 11
Anaconda 3
Python3.5
Tensorflow 1.1

Everything was installed fresh today so should be up to date

like image 653
Bazman Avatar asked Dec 05 '22 13:12

Bazman


2 Answers

I have faced same issue recently and got it resolved by using following command in command prompt for starting tensorboard

tensorboard --logdir=ENTERLOGFOLDERPATH --host localhost --port 8088

then open http://localhost:8088 in your browser

If its not working try changing the port number to something else.

like image 126
Rajesh_Saladi Avatar answered Dec 10 '22 19:12

Rajesh_Saladi


Tensorflow needs to be started from the same path as the log.

C:>tensorboard --logdir=E:\tmp\tensorflow\mnist\logs

Tensorflow would start but would not detect the logs.

E:>tensorboard --logdir=E:\tmp\tensorflow\mnist\logs

Tensorflow would start perfectly.

Please make sure that you are launching tensorboard from the log path.

Secondly, you could try launching it as : 127.0.0.1:6006 in the browser.

like image 25
Ayushi Agarwal Avatar answered Dec 10 '22 17:12

Ayushi Agarwal