tensorflow: tensorboard command broken
Running tensorboard results in this:
logdir = os.path.expanduser(FLAGS.logdir)
AttributeError: 'NoneType' object has no attribute 'logdir'
Best practice in this case is arg(opt)parse.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 4
- Comments: 18 (10 by maintainers)
Commits related to this issue
- fixed issue #4903 — committed to willdzeng/tensorflow by deleted user 8 years ago
- fixes https://github.com/tensorflow/tensorflow/issues/4903 Change: 136924290 — committed to drpngx/tensorflow by tensorflower-gardener 8 years ago
- Fix https://github.com/tensorflow/tensorflow/issues/4903 Change: 135921307 — committed to tensorflow/tensorboard by tensorflower-gardener 8 years ago
- fixes https://github.com/tensorflow/tensorflow/issues/4903 Change: 136924290 — committed to tensorflow/tensorboard by tensorflower-gardener 8 years ago
I’m on the end of the master branch and am having the same problem reported by @ror6ax. I think the changes made in https://github.com/tensorflow/tensorflow/commit/39d0932c8796802a15663d3b59f559ab36244ece were undone by the automated rollback in https://github.com/tensorflow/tensorflow/commit/7c23870e57c70f0c3da1dee93d083447e0fa3f56.
Please see my comment on the pull request. I’m going to revert the argparse changes to tensorboard, and have opened an internal issue to fix the underlying problems to allow us to move cleanly to argparse, while supporting both internal and external users.
meet same issue, use
python /home/zido/anaconda2/lib/python2.7/site-packages/tensorflow/tensorboard/tensorboard.py --logdir=xxxxxxis ok.I had this issue, had to run the
tensorboard.pyscript directly instead of throughbin/tensorboard.FLAGSis set in the new if-main block.