Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
e5a7bb9a
Commit
e5a7bb9a
authored
Jun 27, 2017
by
Vivek Rathod
Browse files
change decode -> Decode
parent
fd8a7e13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
object_detection/exporter.py
object_detection/exporter.py
+1
-1
No files found.
object_detection/exporter.py
View file @
e5a7bb9a
...
@@ -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
().
d
ecode
(
tensor_dict
=
tf_example_decoder
.
TfExampleDecoder
().
D
ecode
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment