You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

tridentnet_r50_caffe_mstrain_1x_coco.py 756 B

2 years ago
12345678910111213141516171819202122
  1. _base_ = 'tridentnet_r50_caffe_1x_coco.py'
  2. # use caffe img_norm
  3. img_norm_cfg = dict(
  4. mean=[103.530, 116.280, 123.675], std=[1.0, 1.0, 1.0], to_rgb=False)
  5. train_pipeline = [
  6. dict(type='LoadImageFromFile'),
  7. dict(type='LoadAnnotations', with_bbox=True),
  8. dict(
  9. type='Resize',
  10. img_scale=[(1333, 640), (1333, 672), (1333, 704), (1333, 736),
  11. (1333, 768), (1333, 800)],
  12. multiscale_mode='value',
  13. keep_ratio=True),
  14. dict(type='RandomFlip', flip_ratio=0.5),
  15. dict(type='Normalize', **img_norm_cfg),
  16. dict(type='Pad', size_divisor=32),
  17. dict(type='DefaultFormatBundle'),
  18. dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels'])
  19. ]
  20. data = dict(train=dict(pipeline=train_pipeline))

No Description

Contributors (3)