Skip to content

Instantly share code, notes, and snippets.

@himaprasoonpt
Created February 9, 2019 13:55
Show Gist options
  • Save himaprasoonpt/1df9cbb88143aba5370561bc13131c71 to your computer and use it in GitHub Desktop.
Save himaprasoonpt/1df9cbb88143aba5370561bc13131c71 to your computer and use it in GitHub Desktop.
Launch Tensorboard from python code
import tensorflow as tf
from tensorboard import main as tb
tf.flags.FLAGS.logdir = "/tmp/hima"
tf.flags.FLAGS.port = "6009"
tb.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment