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
40f8439d
Unverified
Commit
40f8439d
authored
Jun 14, 2021
by
Vishnu Banna
Committed by
GitHub
Jun 14, 2021
Browse files
Merge branch 'purdue-yolo' into detection_generator_pr
parents
9358b176
f246dd8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
official/vision/beta/projects/yolo/modeling/backbones/darknet.py
...l/vision/beta/projects/yolo/modeling/backbones/darknet.py
+3
-1
official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py
...al/vision/beta/projects/yolo/modeling/layers/nn_blocks.py
+0
-2
No files found.
official/vision/beta/projects/yolo/modeling/backbones/darknet.py
View file @
40f8439d
...
...
@@ -667,7 +667,9 @@ def build_darknet(
l2_regularizer
:
tf
.
keras
.
regularizers
.
Regularizer
=
None
)
->
tf
.
keras
.
Model
:
"""Builds darknet."""
backbone_cfg
=
backbone_config
.
get
()
backbone_cfg
=
model_config
.
backbone
.
get
()
norm_activation_config
=
model_config
.
norm_activation
model
=
Darknet
(
model_id
=
backbone_cfg
.
model_id
,
min_level
=
backbone_cfg
.
min_level
,
...
...
official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py
View file @
40f8439d
...
...
@@ -14,7 +14,6 @@
# Lint as: python3
"""Contains common building blocks for yolo neural networks."""
from
typing
import
Callable
,
List
import
tensorflow
as
tf
from
official.modeling
import
tf_utils
...
...
@@ -805,7 +804,6 @@ class CSPStack(tf.keras.layers.Layer):
"""CSPStack layer initializer.
Args:
filters: integer for output depth, or the number of features to learn.
model_to_wrap: callable Model or a list of callable objects that will
process the output of CSPRoute, and be input into CSPConnect.
list will be called sequentially.
...
...
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