Unable to render source v3 model in TensorBoard using TensorFlow 0.7.1

I am trying to introduce a Google Inception v3 model using TensorBoard in TensorFlow 0.7.1 and cannot do this. TensorBoard Graph Tab Closes Using Instructions

Data: reading graph.pbtxt

Data: reading graph.pbtxt

I downloaded un-Tarred initial v3 model . Protoprover Count is located at /tmp/imagenet/classify_image_graph_def.pb.

Here is my code to output the model:

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()

This flushes a 91 MB file called events.out.tfevents.1456423256.[hostname](the same size as the protobuffer graphic), so it seems that the graph is somewhere there.

I launched TensorBoard as follows:

tensorboard --logdir /tmp/inception_v3_log

As a result, the aforementioned hanging pane of loading on the Graph page is called.

This error appears in the Chrome JavaScript console:

Uncaught TypeError: '0' undefined

, , , .

Chrome 48.0.2564.116 (64-) OS X 10.11.3 TensorFlow 0.7.1 Python 3, Bazel TensorFlow 0.7.1 Python 2, pip .

, , mnist_with_summaries example, Inception.

+3
1

,

protobuffer, , , protobuf .

( Ubuntu) tensorflow v0.6 v0.7.1 , .

, protobuf. : https://github.com/tensorflow/tensorflow/issues/1134#issuecomment-185279000

protobuf . . !:)

0

All Articles