models icon indicating copy to clipboard operation
models copied to clipboard

Inception V3 Architecture Diagram is not useful

Open sudhashbahu opened this issue 10 years ago • 3 comments

Please let us know which model this issue is about (specify the top-level directory)

We have the Architecture diagram at https://github.com/tensorflow/models/blob/master/inception/g3doc/inception_v3_architecture.png

However there are no operation/tensor names so the information is not very helpful if we want to trace back through the model.

Please update the model so that it is clear that the output tensor is softmax:0 and the one before that is pool_3:0 and so on.

sudhashbahu avatar Oct 15 '16 07:10 sudhashbahu

See here: http://stackoverflow.com/questions/35336648/list-of-tensor-names-in-graph-in-tensorflow/

metacomgd avatar Oct 15 '16 15:10 metacomgd

That link does not answer the questions.

Instead of everyone having to write programs to get the info, why not publish the information along with the model and save everyone the effort?

sudhashbahu avatar Oct 17 '16 05:10 sudhashbahu

@sudhashbahu :The architecture in the README is intended to be a very high level overview. Adding operation names for each of the nodes will likely be overwhelming. Note that you can visualize any graph in TensorBoard

Unfortunately, yes, this does mean that to visualize you either need to write some code, or execute TensorBoard and point it to training summaries. At least that gives the most accurate visualization and names of operations.

Since we don't plan to add a whole lot to the architecture diagram, I'll close this issue out for now. Do let me know if you have concerns.

FYI, the following code dumps out the graph in python in a form suitable for visualizing in tensorboard (and the hosted demo instance)

with open('/tmp/graph.pb.txt', 'w') as f:
  f.write(str(tf.get_default_graph().as_graph_def())

asimshankar avatar Oct 18 '16 00:10 asimshankar