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
62767d6e
Commit
62767d6e
authored
May 20, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 374926672
parent
0af0abe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
official/vision/beta/modeling/factory.py
official/vision/beta/modeling/factory.py
+2
-0
No files found.
official/vision/beta/modeling/factory.py
View file @
62767d6e
...
...
@@ -76,6 +76,7 @@ def build_maskrcnn(
backbone_config
=
model_config
.
backbone
,
norm_activation_config
=
norm_activation_config
,
l2_regularizer
=
l2_regularizer
)
backbone
(
tf
.
keras
.
Input
(
input_specs
.
shape
[
1
:]))
decoder
=
decoder_factory
.
build_decoder
(
input_specs
=
backbone
.
output_specs
,
...
...
@@ -250,6 +251,7 @@ def build_retinanet(
backbone_config
=
model_config
.
backbone
,
norm_activation_config
=
norm_activation_config
,
l2_regularizer
=
l2_regularizer
)
backbone
(
tf
.
keras
.
Input
(
input_specs
.
shape
[
1
:]))
decoder
=
decoder_factory
.
build_decoder
(
input_specs
=
backbone
.
output_specs
,
...
...
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