123456789101112131415161718192021222324252627282930313233343536373839404142 |
- worker_num: 6
- eval_height: &eval_height 416
- eval_width: &eval_width 416
- eval_size: &eval_size [*eval_height, *eval_width]
- TrainReader:
- sample_transforms:
- - Decode: {}
- - RandomCrop: {}
- - RandomFlip: {prob: 0.5}
- - RandomDistort: {}
- batch_transforms:
- - BatchRandomResize: {target_size: [352, 384, 416, 448, 480], random_size: True, random_interp: True, keep_ratio: False}
- - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- - Permute: {}
- - PadGT: {}
- batch_size: 64
- shuffle: true
- drop_last: true
- EvalReader:
- sample_transforms:
- - Decode: {}
- - Resize: {interp: 2, target_size: *eval_size, keep_ratio: False}
- - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- - Permute: {}
- batch_transforms:
- - PadBatch: {pad_to_stride: 32}
- batch_size: 8
- shuffle: false
- TestReader:
- inputs_def:
- image_shape: [1, 3, *eval_height, *eval_width]
- sample_transforms:
- - Decode: {}
- - Resize: {interp: 2, target_size: *eval_size, keep_ratio: False}
- - NormalizeImage: {is_scale: true, mean: [0.485,0.456,0.406], std: [0.229, 0.224,0.225]}
- - Permute: {}
- batch_size: 1
|