Tensorflow: tensorboard command AttributeError logdir


The error

When you execute the tensorboard command and the output is:

    logdir = os.path.expanduser(FLAGS.logdir)
AttributeError: 'NoneType' object has no attribute 'logdir'


You could be affected by a bug that it's already fixed, please update tensorflow. If you can't upgrapde use the parameter --logdir of the tensorboard command.