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
f7f171fb
Unverified
Commit
f7f171fb
authored
Aug 03, 2018
by
derekjchow
Committed by
GitHub
Aug 03, 2018
Browse files
Merge pull request #4987 from TwistedHardware/master
Bug fix: change dict.iteritems() to dict.items()
parents
f0e10716
e2ea9eb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/object_detection/model_lib.py
research/object_detection/model_lib.py
+1
-1
No files found.
research/object_detection/model_lib.py
View file @
f7f171fb
...
@@ -392,7 +392,7 @@ def create_model_fn(detection_model_fn, configs, hparams, use_tpu=False):
...
@@ -392,7 +392,7 @@ def create_model_fn(detection_model_fn, configs, hparams, use_tpu=False):
if
img_summary
is
not
None
:
if
img_summary
is
not
None
:
eval_metric_ops
[
'Detections_Left_Groundtruth_Right'
]
=
(
eval_metric_ops
[
'Detections_Left_Groundtruth_Right'
]
=
(
img_summary
,
tf
.
no_op
())
img_summary
,
tf
.
no_op
())
eval_metric_ops
=
{
str
(
k
):
v
for
k
,
v
in
eval_metric_ops
.
iter
items
()}
eval_metric_ops
=
{
str
(
k
):
v
for
k
,
v
in
eval_metric_ops
.
items
()}
if
eval_config
.
use_moving_averages
:
if
eval_config
.
use_moving_averages
:
variable_averages
=
tf
.
train
.
ExponentialMovingAverage
(
0.0
)
variable_averages
=
tf
.
train
.
ExponentialMovingAverage
(
0.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