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
3c62075e
"git@developer.sourcefind.cn:modelzoo/resnet50_tensorflow.git" did not exist on "ec4b78f3e7030184b255099c369c52e9b404d71f"
Commit
3c62075e
authored
Jun 15, 2021
by
Vishnu Banna
Browse files
new lines
parent
db70cac3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
official/vision/beta/projects/yolo/modeling/backbones/darknet.py
...l/vision/beta/projects/yolo/modeling/backbones/darknet.py
+1
-3
No files found.
official/vision/beta/projects/yolo/modeling/backbones/darknet.py
View file @
3c62075e
...
@@ -667,9 +667,7 @@ def build_darknet(
...
@@ -667,9 +667,7 @@ def build_darknet(
l2_regularizer
:
tf
.
keras
.
regularizers
.
Regularizer
=
None
)
->
tf
.
keras
.
Model
:
l2_regularizer
:
tf
.
keras
.
regularizers
.
Regularizer
=
None
)
->
tf
.
keras
.
Model
:
"""Builds darknet."""
"""Builds darknet."""
backbone_cfg
=
model_config
.
backbone
.
get
()
backbone_cfg
=
backbone_cfg
.
get
()
norm_activation_config
=
model_config
.
norm_activation
model
=
Darknet
(
model
=
Darknet
(
model_id
=
backbone_cfg
.
model_id
,
model_id
=
backbone_cfg
.
model_id
,
min_level
=
backbone_cfg
.
min_level
,
min_level
=
backbone_cfg
.
min_level
,
...
...
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