mirror of https://github.com/open-mmlab/mmyolo.git
fix rtmdet-s cfg and neck (#434)
parent
28439f102a
commit
5172805dae
configs/rtmdet
mmyolo/models/necks
|
@ -74,6 +74,6 @@ custom_hooks = [
|
|||
priority=49),
|
||||
dict(
|
||||
type='mmdet.PipelineSwitchHook',
|
||||
switch_epoch=280,
|
||||
switch_epoch=_base_.max_epochs - _base_.stage2_num_epochs,
|
||||
switch_pipeline=train_pipeline_stage2)
|
||||
]
|
||||
|
|
|
@ -126,7 +126,7 @@ class CSPNeXtPAFPN(BaseYOLONeck):
|
|||
conv_cfg=self.conv_cfg,
|
||||
norm_cfg=self.norm_cfg,
|
||||
act_cfg=self.act_cfg)
|
||||
elif idx == 2:
|
||||
else:
|
||||
return nn.Sequential(
|
||||
CSPLayer(
|
||||
self.in_channels[idx - 1] * 2,
|
||||
|
|
Loading…
Reference in New Issue