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
ec50c261
Commit
ec50c261
authored
Jul 11, 2020
by
Kaushik Shivakumar
Browse files
fix model lib
parent
9da12cdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
research/object_detection/model_lib_v2.py
research/object_detection/model_lib_v2.py
+2
-1
No files found.
research/object_detection/model_lib_v2.py
View file @
ec50c261
...
@@ -111,7 +111,8 @@ def _compute_losses_and_predictions_dicts(
...
@@ -111,7 +111,8 @@ def _compute_losses_and_predictions_dicts(
prediction_dict
=
model
.
predict
(
prediction_dict
=
model
.
predict
(
preprocessed_images
,
preprocessed_images
,
features
[
fields
.
InputDataFields
.
true_image_shape
])
features
[
fields
.
InputDataFields
.
true_image_shape
],
**
model
.
get_side_inputs
(
features
))
prediction_dict
=
ops
.
bfloat16_to_float32_nested
(
prediction_dict
)
prediction_dict
=
ops
.
bfloat16_to_float32_nested
(
prediction_dict
)
losses_dict
=
model
.
loss
(
losses_dict
=
model
.
loss
(
...
...
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