faster_reader.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. worker_num: 2
  2. TrainReader:
  3. sample_transforms:
  4. - SniperDecodeCrop: {}
  5. - RandomResize: {target_size: [[800, 1333]], interp: 2, keep_ratio: True}
  6. - RandomFlip: {prob: 0.5}
  7. - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  8. - Permute: {}
  9. batch_transforms:
  10. - PadBatch: {pad_to_stride: -1}
  11. batch_size: 1
  12. shuffle: true
  13. drop_last: true
  14. collate_batch: false
  15. use_shared_memory: true
  16. EvalReader:
  17. sample_transforms:
  18. - SniperDecodeCrop: {}
  19. - Resize: {interp: 2, target_size: [800, 1333], keep_ratio: True}
  20. - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  21. - Permute: {}
  22. batch_transforms:
  23. - PadBatch: {pad_to_stride: -1}
  24. batch_size: 1
  25. shuffle: false
  26. drop_last: false
  27. TestReader:
  28. sample_transforms:
  29. - SniperDecodeCrop: {}
  30. - Resize: {interp: 2, target_size: [800, 1333], keep_ratio: True}
  31. - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  32. - Permute: {}
  33. batch_transforms:
  34. - PadBatch: {pad_to_stride: -1}
  35. batch_size: 1
  36. shuffle: false
  37. drop_last: false