retinanet_r50-caffe_fpn_ms-1x_coco.py 470 B

123456789101112131415
  1. _base_ = './retinanet_r50-caffe_fpn_1x_coco.py'
  2. train_pipeline = [
  3. dict(type='LoadImageFromFile'),
  4. dict(type='LoadAnnotations', with_bbox=True),
  5. dict(
  6. type='RandomChoiceResize',
  7. scale=[(1333, 640), (1333, 672), (1333, 704), (1333, 736), (1333, 768),
  8. (1333, 800)],
  9. keep_ratio=True),
  10. dict(type='RandomFlip', prob=0.5),
  11. dict(type='PackDetInputs')
  12. ]
  13. train_dataloader = dict(dataset=dict(pipeline=train_pipeline))