question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to run TensorBoard after TF v1.4 upgrade

See original GitHub issue

Python 3.6 OS High Sierra TensorFlow v1.4

As reported here and in this SO question Tensorboard gives the following error when it’s ran:

Traceback (most recent call last):
  File "/usr/local/bin/tensorboard", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/tensorboard/main.py", line 39, in main
    return program.main(default.get_plugins(),
  File "/usr/local/lib/python3.6/site-packages/tensorboard/default.py", line 71, in get_plugins
    debugger = debugger_plugin_loader.get_debugger_plugin()
  File "/usr/local/lib/python3.6/site-packages/tensorboard/plugins/debugger/debugger_plugin_loader.py", line 46, in get_debugger_plugin
    if FLAGS.debugger_data_server_grpc_port is None:
  File "/usr/local/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 509, in __getattr__
    raise _exceptions.UnparsedFlagAccessError(error_message)
absl.flags._exceptions.UnparsedFlagAccessError: Trying to access flag --debugger_data_server_grpc_port before flags were parsed.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
jartcommented, Nov 21, 2017

This should only impact tf-nightly users. Quick fix is pip install --upgrade tb-nightly. Assuming https://github.com/tensorflow/tensorflow/pull/14741 is merged (which causes tf-nightly to depend on tb-nightly [only automated yesterday]), this issue shall be fixed at approximately the witching hour when tf-nightly 20171122 is loosed. Therefore I’m going to tentatively close this issue. If anything should go wrong, please leave a comment and I’ll reopen.

3reactions
Carmezimcommented, Nov 21, 2017

Thank you @jart! Nice improvement on the nightly build 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I install TensorFlow's tensorboard? - Stack Overflow
I usually use user mode for pip ie. pip install --user even if instructions assume root mode. That way, my tensorboard installation was...
Read more >
Automatically rewrite TF 1.x and compat.v1 API symbols
The script assumes that tensorflow is imported using import tensorflow as tf , or import tensorflow. compat. v1 as tf . This script...
Read more >
Tensorflow Plugin - Metal - Apple Developer
Accelerate the training of machine learning models with TensorFlow right on your Mac. Install base TensorFlow and the tensorflow-metal PluggableDevice to ...
Read more >
Solution to TensorFlow 2 not using GPU | by Shakti Wadekar
You might have run the following command and expected it to download all the dependencies for it to run on GPU. Problem is,...
Read more >
Enable TensorFlow with DirectML on Windows - Microsoft Learn
Check your version of Windows; Check for GPU driver updates ... import tensorflow.compat.v1 as tf tf.enable_eager_execution(tf.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found