Commit 0b81a843 authored by anivegesana's avatar anivegesana
Browse files

Fix comment

parent a4b2ed32
...@@ -74,13 +74,13 @@ class Yolo(ks.Model): ...@@ -74,13 +74,13 @@ class Yolo(ks.Model):
**kwargs): **kwargs):
"""Detection initialization function. """Detection initialization function.
Args: Args:
backbone: `tf.keras.Model` a backbone network. backbone: `tf.keras.Model`, a backbone network.
decoder: `tf.keras.Model` a decoder network. decoder: `tf.keras.Model`, a decoder network.
head: `RetinaNetHead`, the RetinaNet head. head: `YoloHead`, the YOLO head.
filter: the detection generator. filter: `tf.keras.Model`, the detection generator.
**kwargs: keyword arguments to be passed. **kwargs: keyword arguments to be passed.
""" """
super(Yolo, self).__init__(**kwargs) super().__init__(**kwargs)
self._config_dict = { self._config_dict = {
'backbone': backbone, 'backbone': backbone,
...@@ -94,7 +94,6 @@ class Yolo(ks.Model): ...@@ -94,7 +94,6 @@ class Yolo(ks.Model):
self._decoder = decoder self._decoder = decoder
self._head = head self._head = head
self._filter = filter self._filter = filter
return
def call(self, inputs, training=False): def call(self, inputs, training=False):
maps = self._backbone(inputs) maps = self._backbone(inputs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment