Commit e5a7bb9a authored by Vivek Rathod's avatar Vivek Rathod
Browse files

change decode -> Decode

parent fd8a7e13
...@@ -101,7 +101,7 @@ def freeze_graph_with_def_protos( ...@@ -101,7 +101,7 @@ def freeze_graph_with_def_protos(
def _tf_example_input_placeholder(): def _tf_example_input_placeholder():
tf_example_placeholder = tf.placeholder( tf_example_placeholder = tf.placeholder(
tf.string, shape=[], name='tf_example') tf.string, shape=[], name='tf_example')
tensor_dict = tf_example_decoder.TfExampleDecoder().decode( tensor_dict = tf_example_decoder.TfExampleDecoder().Decode(
tf_example_placeholder) tf_example_placeholder)
image = tensor_dict[fields.InputDataFields.image] image = tensor_dict[fields.InputDataFields.image]
return tf.expand_dims(image, axis=0) return tf.expand_dims(image, axis=0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment