|
|
@ -592,7 +592,7 @@ class v10Detect(Detect): |
|
|
|
|
|
|
|
|
|
|
|
class v11Detect(Detect): |
|
|
|
class v11Detect(Detect): |
|
|
|
""" |
|
|
|
""" |
|
|
|
v11 Detection head |
|
|
|
V11 Detection head. |
|
|
|
|
|
|
|
|
|
|
|
Args: |
|
|
|
Args: |
|
|
|
nc (int): Number of classes. |
|
|
|
nc (int): Number of classes. |
|
|
@ -602,7 +602,6 @@ class v11Detect(Detect): |
|
|
|
__init__(self, nc=80, ch=()): Initializes the v11Detect object. |
|
|
|
__init__(self, nc=80, ch=()): Initializes the v11Detect object. |
|
|
|
forward(self, x): Performs forward pass of the v11Detect module. |
|
|
|
forward(self, x): Performs forward pass of the v11Detect module. |
|
|
|
bias_init(self): Initializes biases of the Detect module. |
|
|
|
bias_init(self): Initializes biases of the Detect module. |
|
|
|
|
|
|
|
|
|
|
|
""" |
|
|
|
""" |
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, nc=80, ch=()): |
|
|
|
def __init__(self, nc=80, ch=()): |
|
|
|