rtmdet_m_640-8xb32_coco-person.py 716 B

1234567891011121314151617181920
  1. _base_ = 'mmdet::rtmdet/rtmdet_m_8xb32-300e_coco.py'
  2. checkpoint = 'https://download.openmmlab.com/mmdetection/v3.0/rtmdet/cspnext_rsb_pretrain/cspnext-m_8xb256-rsb-a1-600e_in1k-ecb3bbd9.pth' # noqa
  3. model = dict(
  4. backbone=dict(
  5. init_cfg=dict(
  6. type='Pretrained', prefix='backbone.', checkpoint=checkpoint)),
  7. bbox_head=dict(num_classes=1),
  8. test_cfg=dict(
  9. nms_pre=1000,
  10. min_bbox_size=0,
  11. score_thr=0.05,
  12. nms=dict(type='nms', iou_threshold=0.6),
  13. max_per_img=100))
  14. train_dataloader = dict(dataset=dict(metainfo=dict(classes=('person', ))))
  15. val_dataloader = dict(dataset=dict(metainfo=dict(classes=('person', ))))
  16. test_dataloader = val_dataloader