mirror of https://github.com/open-mmlab/mmyolo.git
[Bug] Support RTMDet P6 model (#480)
parent
da62ae7283
commit
6f478e1ae0
|
@ -90,7 +90,7 @@ class CSPNeXtPAFPN(BaseYOLONeck):
|
|||
Returns:
|
||||
nn.Module: The reduce layer.
|
||||
"""
|
||||
if idx == 2:
|
||||
if idx == len(self.in_channels) - 1:
|
||||
layer = self.conv(
|
||||
self.in_channels[idx],
|
||||
self.in_channels[idx - 1],
|
||||
|
|
Loading…
Reference in New Issue