Get Variable names from Graph file (pb file)

1,478 views
Skip to first unread message

eng.ahmed....@gmail.com

unread,
Oct 6, 2017, 5:11:53 PM10/6/17
to Discuss
I am using a graph file which i doesn't know the name of the variables on this graph model

this files i have :-
      - training_model_saved_model.pb
      - variables
                    -  training_model_variables_variables.data-00000-of-00001
                    -   training_model_variables_variables.index

i started by this code but i can't get the variable names so i can set them
import tensorflow as tf
import sys
from tensorflow.python.platform import gfile

from tensorflow.core.protobuf import saved_model_pb2
from tensorflow.python.util import compat

with tf.Session() as sess:
    model_filename
='training_model_saved_model.pb'
   
with gfile.FastGFile(model_filename, 'rb') as f:

        data
= compat.as_bytes(f.read())
        sm
= saved_model_pb2.SavedModel()
        sm
.ParseFromString(data)
       
#print(sm)
       
if 1 != len(sm.meta_graphs):
               
print('More than one graph found. Not sure which to write')
                sys
.exit(1)

        graph_def
= tf.GraphDef()
       
#graph_def.ParseFromString(sm.meta_graphs[0])
    x
,y,z = tf.import_graph_def(sm.meta_graphs[0].graph_def,return_elements=['data/inputs:0',
                                               
'output/network_activation:0',
                                               
'data/correct_outputs:0'],
                        name
='')
LOGDIR
='Log_dir'
train_writer
= tf.summary.FileWriter(LOGDIR)
train_writer
.add_graph(sess.graph)


error return is expected

Traceback (most recent call last):
 
File "execute_model.py", line 24, in <module>
   
'data/correct_outputs:0'],name='')
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 526, in import_graph_def
   
'Requested return_element %r not found in graph_def.' % name)
ValueError: Requested return_element 'data/inputs:0' not found in graph_def.


any help , thanks in advance


Sebastian Raschka

unread,
Oct 6, 2017, 5:18:09 PM10/6/17
to eng.ahmed....@gmail.com, TensorFlow Mailinglist
I guess you would have to import the graph and manually look through all the variables names if you don't know the names (to figure out what you are looking for, and hope the variables have sensical names). E.g., something like:



> I am using a graph file which i doesn't know the name of the variables on this graph model


g = tf.Graph()
with tf.Session(graph=g) as sess:

with g.as_default():

saver1 = tf.train.import_meta_graph('model.meta')
saver1.restore(sess, save_path='model')

for v in tf.global_variables():
print(v.name)

Best,
Sebastian
> --
> You received this message because you are subscribed to the Google Groups "Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@tensorflow.org.
> To post to this group, send email to dis...@tensorflow.org.
> To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/197be49a-2cfd-4898-9993-9b7a36b365e7%40tensorflow.org.

eng.ahmed....@gmail.com

unread,
Oct 7, 2017, 7:05:59 AM10/7/17
to Discuss

Hi Sebastian,

  i have edited my code but i have found different error , don't know if i am going in the right way or not .






import tensorflow as tf
import sys
from tensorflow.python.platform import gfile

from tensorflow.core.protobuf import saved_model_pb2
from tensorflow.python.util import
compat

g
= tf.Graph()
with tf.Session(graph=g) as sess:
   model_filename
='woei_audrey_woei_20170920_010132_training_model_saved_model.pb'

   
with gfile.FastGFile(model_filename, 'rb') as f:

        data
= compat.as_bytes(f.read())
        sm
= saved_model_pb2.SavedModel()
        sm
.ParseFromString(data)
       
#print(sm)
       
if 1 != len(sm.meta_graphs):
               
print('More than one graph found. Not sure which to write')
                sys
.exit(1)

        graph_def
= tf.GraphDef()

   
with g.as_default():

            saver1
= tf.train.import_meta_graph(sm.meta_graphs[0])

            saver1
.restore(sess, save_path='model')
 
       
           
for v in tf.global_variables():
                   
print(v.name)


This is the error :-

2017-10-07 12:58:54.084585: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.085797: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.086970: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.087582: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.088469: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.089952: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.090842: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.092554: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.093276: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.094084: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.094918: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.095770: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.096087: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.097911: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.099051: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.099922: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.100963: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.102242: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.102598: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.103782: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.104426: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.105637: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.106564: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.107726: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.108706: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.109462: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.109737: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.110562: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.111872: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.112574: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.113673: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.114555: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.115411: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.116141: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.117190: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.118242: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.119196: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.119719: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.120715: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.121094: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.121946: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.122392: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.123391: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.124084: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.124667: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
2017-10-07 12:58:54.125338: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
Traceback (most recent call last):

 
File "Load_Model.py", line 25, in <module>
    saver1
.restore(sess, save_path='model')
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1560, in restore
   
{self.saver_def.filename_tensor_name: save_path})
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 895, in run
    run_metadata_ptr
)
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1124, in _run
    feed_dict_tensor
, options, run_metadata)
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1321, in _do_run
    options
, run_metadata)
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1340, in _do_call
   
raise type(e)(node_def, op, message)
tensorflow
.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
     
[[Node: save_2/RestoreV2_391 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save_2/Const_0_0, save_2/RestoreV2_391/tensor_names, save_2/RestoreV2_391/shape_and_slices)]]

Caused by op u'save_2/RestoreV2_391', defined at:
 
File "Load_Model.py", line 24, in <module>
    saver1
= tf.train.import_meta_graph(sm.meta_graphs[0])
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1698, in import_meta_graph
   
**kwargs)
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/meta_graph.py", line 656, in import_scoped_meta_graph
    producer_op_list
=producer_op_list)
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 313, in import_graph_def
    op_def
=op_def)
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2630, in create_op
    original_op
=self._default_original_op, op_def=op_def)
 
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1204, in __init__
   
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

NotFoundError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to find any matching files for model
     
[[Node: save_2/RestoreV2_391 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save_2/Const_0_0, save_2/RestoreV2_391/tensor_names, save_2/RestoreV2_391/shape_and_slices)]]

eng.ahmed....@gmail.com

unread,
Oct 7, 2017, 7:34:39 AM10/7/17
to Discuss
Edited
I have manged to solve this error by commenting
  
saver1.restore(sess, save_path='model')

i would like what is the model mentioned
InceptionV3/Conv2d_1a_3x3/weights:0
InceptionV3/Conv2d_1a_3x3/BatchNorm/beta:0
InceptionV3/Conv2d_1a_3x3/BatchNorm/moving_mean:0
InceptionV3/Conv2d_1a_3x3/BatchNorm/moving_variance:0
InceptionV3/Conv2d_2a_3x3/weights:0
InceptionV3/Conv2d_2a_3x3/BatchNorm/beta:0
InceptionV3/Conv2d_2a_3x3/BatchNorm/moving_mean:0
InceptionV3/Conv2d_2a_3x3/BatchNorm/moving_variance:0
InceptionV3/Conv2d_2b_3x3/weights:0
InceptionV3/Conv2d_2b_3x3/BatchNorm/beta:0
InceptionV3/Conv2d_2b_3x3/BatchNorm/moving_mean:0
InceptionV3/Conv2d_2b_3x3/BatchNorm/moving_variance:0
InceptionV3/Conv2d_3b_1x1/weights:0
InceptionV3/Conv2d_3b_1x1/BatchNorm/beta:0
InceptionV3/Conv2d_3b_1x1/BatchNorm/moving_mean:0
InceptionV3/Conv2d_3b_1x1/BatchNorm/moving_variance:0
InceptionV3/Conv2d_4a_3x3/weights:0
InceptionV3/Conv2d_4a_3x3/BatchNorm/beta:0
InceptionV3/Conv2d_4a_3x3/BatchNorm/moving_mean:0
InceptionV3/Conv2d_4a_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_5b/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5b/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5b/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5b/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0b_5x5/weights:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0b_5x5/BatchNorm/beta:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0b_5x5/BatchNorm/moving_mean:0
InceptionV3/Mixed_5b/Branch_1/Conv2d_0b_5x5/BatchNorm/moving_variance:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0b_3x3/weights:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0b_3x3/BatchNorm/beta:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0c_3x3/weights:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0c_3x3/BatchNorm/beta:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0c_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_5b/Branch_2/Conv2d_0c_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_5b/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_5b/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5b/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5b/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5c/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5c/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5c/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5c/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5c/Branch_1/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_5c/Branch_1/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5c/Branch_1/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5c/Branch_1/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5c/Branch_1/Conv_1_0c_5x5/weights:0
InceptionV3/Mixed_5c/Branch_1/Conv_1_0c_5x5/BatchNorm/beta:0
InceptionV3/Mixed_5c/Branch_1/Conv_1_0c_5x5/BatchNorm/moving_mean:0
InceptionV3/Mixed_5c/Branch_1/Conv_1_0c_5x5/BatchNorm/moving_variance:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0b_3x3/weights:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0b_3x3/BatchNorm/beta:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0c_3x3/weights:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0c_3x3/BatchNorm/beta:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0c_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_5c/Branch_2/Conv2d_0c_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_5c/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_5c/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5c/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5c/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5d/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5d/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5d/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5d/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0b_5x5/weights:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0b_5x5/BatchNorm/beta:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0b_5x5/BatchNorm/moving_mean:0
InceptionV3/Mixed_5d/Branch_1/Conv2d_0b_5x5/BatchNorm/moving_variance:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0b_3x3/weights:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0b_3x3/BatchNorm/beta:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0c_3x3/weights:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0c_3x3/BatchNorm/beta:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0c_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_5d/Branch_2/Conv2d_0c_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_5d/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_5d/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_5d/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_5d/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6a/Branch_0/Conv2d_1a_1x1/weights:0
InceptionV3/Mixed_6a/Branch_0/Conv2d_1a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6a/Branch_0/Conv2d_1a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6a/Branch_0/Conv2d_1a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0b_3x3/weights:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0b_3x3/BatchNorm/beta:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0b_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_0b_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_1a_1x1/weights:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_1a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_1a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6a/Branch_1/Conv2d_1a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6b/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0b_1x7/weights:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0b_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0c_7x1/weights:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0c_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0b_7x1/weights:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0b_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0c_1x7/weights:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0c_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0d_7x1/weights:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0d_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0e_1x7/weights:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0e_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6b/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_6b/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6b/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6b/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6c/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0b_1x7/weights:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0b_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0c_7x1/weights:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0c_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0b_7x1/weights:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0b_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0c_1x7/weights:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0c_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0d_7x1/weights:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0d_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0e_1x7/weights:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0e_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6c/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_6c/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6c/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6c/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6d/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0b_1x7/weights:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0b_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0c_7x1/weights:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0c_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0b_7x1/weights:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0b_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0c_1x7/weights:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0c_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0d_7x1/weights:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0d_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0e_1x7/weights:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0e_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6d/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_6d/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6d/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6d/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6e/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0b_1x7/weights:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0b_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0c_7x1/weights:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0c_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0b_7x1/weights:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0b_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0b_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0c_1x7/weights:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0c_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0c_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0d_7x1/weights:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0d_7x1/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0d_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0e_1x7/weights:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0e_1x7/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_2/Conv2d_0e_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_6e/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_6e/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_6e/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_6e/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_1a_3x3/weights:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_1a_3x3/BatchNorm/beta:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_1a_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7a/Branch_0/Conv2d_1a_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0b_1x7/weights:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0b_1x7/BatchNorm/beta:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_mean:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0b_1x7/BatchNorm/moving_variance:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0c_7x1/weights:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0c_7x1/BatchNorm/beta:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_0c_7x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_1a_3x3/weights:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_1a_3x3/BatchNorm/beta:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_1a_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7a/Branch_1/Conv2d_1a_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7b/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_1x3/weights:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_1x3/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_1x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_1x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_3x1/weights:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_3x1/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_3x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_1/Conv2d_0b_3x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0b_3x3/weights:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0b_3x3/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0c_1x3/weights:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0c_1x3/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0c_1x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0c_1x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0d_3x1/weights:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0d_3x1/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0d_3x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_2/Conv2d_0d_3x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7b/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_7b/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7b/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7b/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_0/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7c/Branch_0/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_0/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0b_1x3/weights:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0b_1x3/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0b_1x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0b_1x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0c_3x1/weights:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0c_3x1/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0c_3x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_1/Conv2d_0c_3x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0a_1x1/weights:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0a_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0a_1x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0b_3x3/weights:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0b_3x3/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0b_3x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0c_1x3/weights:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0c_1x3/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0c_1x3/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0c_1x3/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0d_3x1/weights:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0d_3x1/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0d_3x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_2/Conv2d_0d_3x1/BatchNorm/moving_variance:0
InceptionV3/Mixed_7c/Branch_3/Conv2d_0b_1x1/weights:0
InceptionV3/Mixed_7c/Branch_3/Conv2d_0b_1x1/BatchNorm/beta:0
InceptionV3/Mixed_7c/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_mean:0
InceptionV3/Mixed_7c/Branch_3/Conv2d_0b_1x1/BatchNorm/moving_variance:0
InceptionV3/AuxLogits/Conv2d_1b_1x1/weights:0
InceptionV3/AuxLogits/Conv2d_1b_1x1/BatchNorm/beta:0
InceptionV3/AuxLogits/Conv2d_1b_1x1/BatchNorm/moving_mean:0
InceptionV3/AuxLogits/Conv2d_1b_1x1/BatchNorm/moving_variance:0
InceptionV3/AuxLogits/Conv2d_2a_5x5/weights:0
InceptionV3/AuxLogits/Conv2d_2a_5x5/BatchNorm/beta:0
InceptionV3/AuxLogits/Conv2d_2a_5x5/BatchNorm/moving_mean:0
InceptionV3/AuxLogits/Conv2d_2a_5x5/BatchNorm/moving_variance:0
InceptionV3/AuxLogits/Conv2d_2b_1x1/weights:0
InceptionV3/AuxLogits/Conv2d_2b_1x1/biases:0
InceptionV3/Logits/Conv2d_1c_1x1/weights:0
InceptionV3/Logits/Conv2d_1c_1x1/biases:0
fully_connected/weights:0
fully_connected/biases:0
fully_connected_1/weights:0
fully_connected_1/biases:0

this is all the input for every layer , but i expected to have input image and output probiblity

i have find this as an output

Sebastian Raschka

unread,
Oct 7, 2017, 5:43:17 PM10/7/17
to eng.ahmed....@gmail.com, TensorFlow Mailinglist
You previously said

> > I am using a graph file which i doesn't know the name of the variables on this graph model


So, I thought you were interested in the "Variable"s in the graph.

> this is all the input for every layer , but i expected to have input image and output probiblity
>
> i have find this as an output

In this case, you probably want to check all the graph ops instead? For example, you could print the names via the following:

for i in g.get_operations():
print(i.name)

where "g" is your graph.

Best,
Sebastian
> tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReaderconstructor: Failed to find any matching files for model
> [[Node: save_2/RestoreV2_391 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save_2/Const_0_0, save_2/RestoreV2_391/tensor_names,save_2/RestoreV2_391/shape_and_slices)]]
>
> Caused by op u'save_2/RestoreV2_391', defined at:
> File "Load_Model.py", line 24, in <module>
> saver1 = tf.train.import_meta_graph(sm.meta_graphs[0])
> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1698, in import_meta_graph
> **kwargs)
> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/meta_graph.py",line 656, in import_scoped_meta_graph
> producer_op_list=producer_op_list)
> File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py",line 313, in import_graph_def
> To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/bd84297f-1e2c-4b50-935a-ad545f4aae42%40tensorflow.org.

Reply all
Reply to author
Forward
0 new messages