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
1dbdbbb6
Commit
1dbdbbb6
authored
Jan 02, 2019
by
DefineFC
Browse files
py3 compatibility
parent
2c4762d0
Changes
1
Show 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 @
1dbdbbb6
...
...
@@ -436,7 +436,7 @@ def create_model_fn(detection_model_fn, configs, hparams, use_tpu=False):
# Eval metrics on a single example.
eval_metric_ops
=
eval_util
.
get_eval_metric_ops_for_evaluators
(
eval_config
,
category_index
.
values
(),
eval_dict
)
eval_config
,
list
(
category_index
.
values
()
)
,
eval_dict
)
for
loss_key
,
loss_tensor
in
iter
(
losses_dict
.
items
()):
eval_metric_ops
[
loss_key
]
=
tf
.
metrics
.
mean
(
loss_tensor
)
for
var
in
optimizer_summary_vars
:
...
...
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