Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

tensorboard: got error message #176

Closed
XiaoxueZang opened this issue Nov 15, 2017 · 5 comments
Closed

tensorboard: got error message #176

XiaoxueZang opened this issue Nov 15, 2017 · 5 comments

Comments

@XiaoxueZang
Copy link

During training, I want to open the Tensorboard by "tensorboard --port 22222 --logdir model_dir", but I got the following error message.
absl.flags._exceptions.UnparsedFlagAccessError: Trying to access flag --debug before flags were parsed.
I wonder how to fix it? Thank you!

@emorisse
Copy link

Also seeing the same.

$ /Users/emorisse/src/py3/bin/tensorboard --logdir checkpoints  
Traceback (most recent call last):
  File "/Users/emorisse/src/py3/bin/tensorboard", line 11, in 
    sys.exit(main())
  File "/Users/emorisse/src/py3/lib/python3.6/site-packages/tensorboard/main.py", line 44, in main
    return program.main(default.get_plugins(),
  File "/Users/emorisse/src/py3/lib/python3.6/site-packages/tensorboard/default.py", line 71, in get_plugins
    debugger = debugger_plugin_loader.get_debugger_plugin()
  File "/Users/emorisse/src/py3/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 "/Users/emorisse/src/py3/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.

Python 3.6.2
tensorflow (1.4.0)
tensorflow-tensorboard (0.4.0rc3)

Tensorflow compiled from source on OSX.

@jart
Copy link

jart commented Nov 21, 2017

I recommend closing this issue out and following tensorflow/tensorboard#764, since the problem is on TensorBoard's end and we're fixing it right now.

@oahziur oahziur closed this as completed Nov 23, 2017
@emorisse
Copy link

Confirming: updating tb-nightly per tensorflow/tensorboard#764 did solve the problem I saw.

Thank you.

@XiaoxueZang
Copy link
Author

@jart Thank you for all the help, but it does not work for me. I have the following error message:
Do you know any possible solutions? Thank you!
Traceback (most recent call last): File "/Users/zangxiaoxue/anaconda/bin/tensorboard", line 7, in <module> from tensorboard.main import run_main File "/Users/zangxiaoxue/anaconda/lib/python3.5/site-packages/tensorboard/main.py", line 28, in <module> import tensorflow as tf File "/Users/zangxiaoxue/anaconda/lib/python3.5/site-packages/tensorflow/__init__.py", line 24, in <module> from tensorflow.python import * File "/Users/zangxiaoxue/anaconda/lib/python3.5/site-packages/tensorflow/python/__init__.py", line 52, in <module> from tensorflow.core.framework.graph_pb2 import * File "/Users/zangxiaoxue/anaconda/lib/python3.5/site-packages/tensorflow/core/framework/graph_pb2.py", line 10, in <module> from google.protobuf import descriptor_pb2 File "/Users/zangxiaoxue/anaconda/lib/python3.5/site-packages/google/protobuf/descriptor_pb2.py", line 735, in <module> options=None, file=DESCRIPTOR), File "/Users/zangxiaoxue/anaconda/lib/python3.5/site-packages/google/protobuf/descriptor.py", line 501, in __new__ return _message.default_pool.FindFieldByName(full_name) KeyError: "Couldn't find field google.protobuf.EnumDescriptorProto.EnumReservedRange.start"

@jart
Copy link

jart commented Nov 24, 2017

Protobuf is having double double toil and trouble right now. See tensorflow/tensorflow#12326.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants