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
0b81a843
Commit
0b81a843
authored
Jul 15, 2021
by
anivegesana
Browse files
Fix comment
parent
a4b2ed32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
official/vision/beta/projects/yolo/modeling/yolo_model.py
official/vision/beta/projects/yolo/modeling/yolo_model.py
+5
-6
No files found.
official/vision/beta/projects/yolo/modeling/yolo_model.py
View file @
0b81a843
...
...
@@ -74,13 +74,13 @@ class Yolo(ks.Model):
**
kwargs
):
"""Detection initialization function.
Args:
backbone: `tf.keras.Model` a backbone network.
decoder: `tf.keras.Model` a decoder network.
head: `
RetinaNet
Head`, the
RetinaNet
head.
filter: the detection generator.
backbone: `tf.keras.Model`
,
a backbone network.
decoder: `tf.keras.Model`
,
a decoder network.
head: `
Yolo
Head`, the
YOLO
head.
filter:
`tf.keras.Model`,
the detection generator.
**kwargs: keyword arguments to be passed.
"""
super
(
Yolo
,
self
).
__init__
(
**
kwargs
)
super
().
__init__
(
**
kwargs
)
self
.
_config_dict
=
{
'backbone'
:
backbone
,
...
...
@@ -94,7 +94,6 @@ class Yolo(ks.Model):
self
.
_decoder
=
decoder
self
.
_head
=
head
self
.
_filter
=
filter
return
def
call
(
self
,
inputs
,
training
=
False
):
maps
=
self
.
_backbone
(
inputs
)
...
...
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