|
1 | 1 | worker_num: 2
|
2 | 2 | TrainReader:
|
3 | 3 | sample_transforms:
|
4 |
| - - Decode: {} |
5 |
| - - Resize: {target_size: [800, 1333], keep_ratio: True, interp: 1} |
6 |
| - - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True} |
7 |
| - - RandomFlip: {} |
| 4 | + - Decode: {} |
| 5 | + - Resize: {target_size: [800, 1333], keep_ratio: True, interp: 1} |
| 6 | + - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True} |
| 7 | + - RandomFlip: {} |
8 | 8 | batch_transforms:
|
9 |
| - - Permute: {} |
10 |
| - - PadBatch: {pad_to_stride: 128} |
11 |
| - - Gt2FCOSTarget: |
12 |
| - object_sizes_boundary: [64, 128, 256, 512] |
13 |
| - center_sampling_radius: 1.5 |
14 |
| - downsample_ratios: [8, 16, 32, 64, 128] |
15 |
| - norm_reg_targets: True |
| 9 | + - Permute: {} |
| 10 | + - PadBatch: {pad_to_stride: 128} |
| 11 | + - Gt2FCOSTarget: |
| 12 | + object_sizes_boundary: [64, 128, 256, 512] |
| 13 | + center_sampling_radius: 1.5 |
| 14 | + downsample_ratios: [8, 16, 32, 64, 128] |
| 15 | + norm_reg_targets: True |
16 | 16 | batch_size: 2
|
17 | 17 | shuffle: True
|
18 | 18 | drop_last: True
|
19 | 19 |
|
20 | 20 |
|
21 | 21 | EvalReader:
|
22 | 22 | sample_transforms:
|
23 |
| - - Decode: {} |
24 |
| - - Resize: {target_size: [800, 1333], keep_ratio: True, interp: 1} |
25 |
| - - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True} |
26 |
| - - Permute: {} |
| 23 | + - Decode: {} |
| 24 | + - Resize: {target_size: [800, 1333], keep_ratio: True, interp: 1} |
| 25 | + - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True} |
| 26 | + - Permute: {} |
27 | 27 | batch_transforms:
|
28 |
| - - PadBatch: {pad_to_stride: 128} |
| 28 | + - PadBatch: {pad_to_stride: 128} |
29 | 29 | batch_size: 1
|
30 | 30 |
|
31 | 31 |
|
32 | 32 | TestReader:
|
33 | 33 | sample_transforms:
|
34 |
| - - Decode: {} |
35 |
| - - Resize: {target_size: [800, 1333], keep_ratio: True, interp: 1} |
36 |
| - - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True} |
37 |
| - - Permute: {} |
| 34 | + - Decode: {} |
| 35 | + - Resize: {target_size: [800, 1333], keep_ratio: True, interp: 1} |
| 36 | + - NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True} |
| 37 | + - Permute: {} |
38 | 38 | batch_transforms:
|
39 |
| - - PadBatch: {pad_to_stride: 128} |
| 39 | + - PadBatch: {pad_to_stride: 128} |
40 | 40 | batch_size: 1
|
41 | 41 | fuse_normalize: True
|
0 commit comments