web-dev-qa-db-fra.com

TensorBoard ne fonctionne pas

Je peux très bien utiliser TensorFlow. Mais je ne peux pas encore utiliser TensorBoard. Je suis les instructions de la page Visualizing Learning de tensorflow.org .

Quand je cours

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

Je reçois le suivant

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

Si je nagive à http://0.0.0.0:6006, je vois une page blanche vierge.

[Pile: OSX, Google Chrome, Python 3, TensorFlow installés via pip]

10
rafaelcosman

Essayez d’accéder à localhost: 6006 à la place (équivalent à http://127.0.0.1:6006/ ).

Cela fonctionne bien pour moi alors que http://0.0.0.0:6006 ne donne aucun résultat.

18
Nicolas Ivanov

J'ai eu un problème similaire avec TensorBoard 1.4 (pas d'erreurs au démarrage mais page noire dans le navigateur). Dans mon cas, il a été utile de définir explicitement l'hôte sur 127.0.0.1 avec --Host

0
Alex Oprea