faster_rcnn_r50_fpn_1x_coco.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. _BASE_: [
  2. '../../configs/datasets/coco_detection.yml',
  3. '../../configs/runtime.yml',
  4. '../../configs/faster_rcnn/_base_/optimizer_1x.yml',
  5. '../../configs/faster_rcnn/_base_/faster_rcnn_r50_fpn.yml',
  6. ]
  7. weights: output/faster_rcnn_r50_fpn_1x_coco/model_final
  8. worker_num: 2
  9. TrainReader:
  10. sample_transforms:
  11. - Decode: {}
  12. - Resize: {interp: 2, target_size: [800, 1333], keep_ratio: True}
  13. - RandomFlip: {prob: 0.5}
  14. - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  15. - Permute: {}
  16. batch_transforms:
  17. - PadBatch: {pad_to_stride: 32}
  18. batch_size: 1
  19. shuffle: true
  20. drop_last: true
  21. collate_batch: false
  22. EvalReader:
  23. sample_transforms:
  24. - Decode: {}
  25. - Resize: {interp: 2, target_size: [800, 1333], keep_ratio: True}
  26. - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  27. - Permute: {}
  28. batch_transforms:
  29. - PadBatch: {pad_to_stride: 32}
  30. batch_size: 1
  31. shuffle: false
  32. drop_last: false
  33. TestReader:
  34. sample_transforms:
  35. - Decode: {}
  36. - Resize: {interp: 2, target_size: [800, 1333], keep_ratio: True}
  37. - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  38. - Permute: {}
  39. batch_transforms:
  40. - PadBatch: {pad_to_stride: 32}
  41. batch_size: 1
  42. shuffle: false
  43. drop_last: false