mask_fpn_reader.yml 1.1 KB
Newer Older
Q
qingqing01 已提交
1 2 3
worker_num: 2
TrainReader:
  sample_transforms:
W
wangxinxin08 已提交
4 5 6 7 8
  - Decode: {}
  - RandomResize: {target_size: [[640, 1333], [672, 1333], [704, 1333], [736, 1333], [768, 1333], [800, 1333]], interp: 2, keep_ratio: True}
  - RandomFlip: {prob: 0.5}
  - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  - Permute: {}
Q
qingqing01 已提交
9
  batch_transforms:
W
wangxinxin08 已提交
10
  - PadBatch: {pad_to_stride: 32, pad_gt: true}
Q
qingqing01 已提交
11 12 13 14 15 16
  batch_size: 1
  shuffle: true
  drop_last: true

EvalReader:
  sample_transforms:
W
wangxinxin08 已提交
17 18 19 20
  - Decode: {}
  - Resize: {interp: 2, target_size: [800, 1333], keep_ratio: True}
  - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  - Permute: {}
Q
qingqing01 已提交
21
  batch_transforms:
W
wangxinxin08 已提交
22
  - PadBatch: {pad_to_stride: 32, pad_gt: false}
Q
qingqing01 已提交
23 24 25 26 27 28 29 30
  batch_size: 1
  shuffle: false
  drop_last: false
  drop_empty: false


TestReader:
  sample_transforms:
W
wangxinxin08 已提交
31 32 33 34
  - Decode: {}
  - Resize: {interp: 2, target_size: [800, 1333], keep_ratio: True}
  - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
  - Permute: {}
Q
qingqing01 已提交
35
  batch_transforms:
W
wangxinxin08 已提交
36
  - PadBatch: {pad_to_stride: 32, pad_gt: false}
Q
qingqing01 已提交
37 38 39
  batch_size: 1
  shuffle: false
  drop_last: false