Skip to content

Commit 546eeaa

Browse files
authored
[doc] fix fcos reader tab for ce test (#6969)
1 parent 80b2627 commit 546eeaa

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

configs/fcos/_base_/fcos_reader.yml

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
worker_num: 2
22
TrainReader:
33
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: {}
88
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
1616
batch_size: 2
1717
shuffle: True
1818
drop_last: True
1919

2020

2121
EvalReader:
2222
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: {}
2727
batch_transforms:
28-
- PadBatch: {pad_to_stride: 128}
28+
- PadBatch: {pad_to_stride: 128}
2929
batch_size: 1
3030

3131

3232
TestReader:
3333
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: {}
3838
batch_transforms:
39-
- PadBatch: {pad_to_stride: 128}
39+
- PadBatch: {pad_to_stride: 128}
4040
batch_size: 1
4141
fuse_normalize: True

configs/fcos/fcos_r50_fpn_multiscale_2x_coco.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ weights: output/fcos_r50_fpn_multiscale_2x_coco/model_final
1010

1111
TrainReader:
1212
sample_transforms:
13-
- Decode: {}
14-
- RandomResize: {target_size: [[640, 1333], [672, 1333], [704, 1333], [736, 1333], [768, 1333], [800, 1333]], keep_ratio: True, interp: 1}
15-
- NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True}
16-
- RandomFlip: {}
13+
- Decode: {}
14+
- RandomResize: {target_size: [[640, 1333], [672, 1333], [704, 1333], [736, 1333], [768, 1333], [800, 1333]], keep_ratio: True, interp: 1}
15+
- NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True}
16+
- RandomFlip: {}
1717
batch_transforms:
18-
- Permute: {}
19-
- PadBatch: {pad_to_stride: 128}
20-
- Gt2FCOSTarget:
21-
object_sizes_boundary: [64, 128, 256, 512]
22-
center_sampling_radius: 1.5
23-
downsample_ratios: [8, 16, 32, 64, 128]
24-
norm_reg_targets: True
18+
- Permute: {}
19+
- PadBatch: {pad_to_stride: 128}
20+
- Gt2FCOSTarget:
21+
object_sizes_boundary: [64, 128, 256, 512]
22+
center_sampling_radius: 1.5
23+
downsample_ratios: [8, 16, 32, 64, 128]
24+
norm_reg_targets: True
2525
batch_size: 2
2626
shuffle: True
2727
drop_last: True

0 commit comments

Comments
 (0)