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
067c893e
Commit
067c893e
authored
Oct 28, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 406237483
parent
fed7723c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
official/vision/beta/modeling/retinanet_model.py
official/vision/beta/modeling/retinanet_model.py
+3
-3
No files found.
official/vision/beta/modeling/retinanet_model.py
View file @
067c893e
...
@@ -123,9 +123,9 @@ class RetinaNetModel(tf.keras.Model):
...
@@ -123,9 +123,9 @@ class RetinaNetModel(tf.keras.Model):
{
'backbone_{}'
.
format
(
k
):
v
for
k
,
v
in
features
.
items
()})
{
'backbone_{}'
.
format
(
k
):
v
for
k
,
v
in
features
.
items
()})
if
self
.
decoder
:
if
self
.
decoder
:
features
=
self
.
decoder
(
features
)
features
=
self
.
decoder
(
features
)
if
output_intermediate_features
:
if
output_intermediate_features
:
outputs
.
update
(
outputs
.
update
(
{
'decoder_{}'
.
format
(
k
):
v
for
k
,
v
in
features
.
items
()})
{
'decoder_{}'
.
format
(
k
):
v
for
k
,
v
in
features
.
items
()})
# Dense prediction. `raw_attributes` can be empty.
# Dense prediction. `raw_attributes` can be empty.
raw_scores
,
raw_boxes
,
raw_attributes
=
self
.
head
(
features
)
raw_scores
,
raw_boxes
,
raw_attributes
=
self
.
head
(
features
)
...
...
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