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

Most upvoted comments

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=xxxxxx is ok.

I had this issue, had to run the tensorboard.py script directly instead of through bin/tensorboard. FLAGS is set in the new if-main block.