title: Unable to visualize Inception v3 model in TensorBoard with TensorFlow 0.7.1
body: <p>I'm attempting to visualize Google's Inception v3 model using TensorBoard in TensorFlow 0.7.1 and am unable to do so. The TensorBoard Graph tab stalls with the statement</p>
  
  <blockquote>
    <p>Data : Reading graph.pbtxt</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/5G0oo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5G0oo.png" alt="Data : Reading graph.pbtxt"></a></p>
  
  <p>I downloaded an un-Tarred the <a href="http://download.tensorflow.org/models/image/imagenet/inception-2015-12-05.tgz" rel="nofollow noreferrer">inception v3 model</a>. The graph protobuffer is in <code>/tmp/imagenet/classify_image_graph_def.pb</code>.</p>
  
  <p>Here's my code to dump the model:</p>
  
  <pre><code>import os
  import os.path
  import tensorflow as tf
  from tensorflow.python.platform import gfile
  
  INCEPTION_LOG_DIR = '/tmp/inception_v3_log'
  
  if not os.path.exists(INCEPTION_LOG_DIR):
      os.makedirs(INCEPTION_LOG_DIR)
  with tf.Session() as sess:
      model_filename = '/tmp/imagenet/classify_image_graph_def.pb'
      with gfile.FastGFile(model_filename, 'rb') as f:
          graph_def = tf.GraphDef()
          graph_def.ParseFromString(f.read())
          _ = tf.import_graph_def(graph_def, name='')
      writer = tf.train.SummaryWriter(INCEPTION_LOG_DIR, graph_def)
      writer.close()
  </code></pre>
  
  <p>This dumps a 91 MB file called <code>events.out.tfevents.1456423256.[hostname]</code> (same size as the graph protobuffer) so it seems that the graph is in there somewhere.</p>
  
  <p>I ran TensorBoard as follows:</p>
  
  <pre><code>tensorboard --logdir /tmp/inception_v3_log
  </code></pre>
  
  <p>Which results in the aforementioned hung loading bar on the Graph page.</p>
  
  <p>The Chrome JavaScript console yields this error:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot read property '0' of undefined</p>
  </blockquote>
  
  <p>which I assume is related to the fact that the graph is missing.</p>
  
  <p>I've tried this with Chrome 48.0.2564.116 (64-bit) on OS X 10.11.3 both with TensorFlow 0.7.1 for Python 3 built using Bazel and TensorFlow 0.7.1 for Python 2 installed via pip with the exact same results.</p>
  
  <p>I also verified that I <em>can</em> visualize the graph generated with the <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py" rel="nofollow noreferrer">mnist_with_summaries example</a>, so this is an issue specifically with the Inception model.</p>