提交 c4f3dfaf 编写于 作者: W wangguanzhong 提交者: GitHub

fix configs (#3789)

上级 412bf53e
...@@ -233,6 +233,24 @@ MaskRCNNTestFeed: ...@@ -233,6 +233,24 @@ MaskRCNNTestFeed:
batch_size: 1 batch_size: 1
dataset: dataset:
annotation: dataset/coco/annotations/instances_val2017.json annotation: dataset/coco/annotations/instances_val2017.json
sample_transforms:
- !DecodeImage
to_rgb: False
with_mixup: False
- !NormalizeImage
is_channel_first: false
is_scale: False
mean:
- 102.9801
- 115.9465
- 122.7717
std:
- 1.0
- 1.0
- 1.0
- !Permute
channel_first: true
to_bgr: false
batch_transforms: batch_transforms:
- !PadBatch - !PadBatch
pad_to_stride: 32 pad_to_stride: 32
......
...@@ -249,6 +249,23 @@ MaskRCNNTestFeed: ...@@ -249,6 +249,23 @@ MaskRCNNTestFeed:
batch_size: 1 batch_size: 1
dataset: dataset:
annotation: dataset/coco/annotations/instances_val2017.json annotation: dataset/coco/annotations/instances_val2017.json
sample_transforms:
- !DecodeImage
to_rgb: False
- !NormalizeImage
is_channel_first: false
is_scale: False
mean:
- 102.9801
- 115.9465
- 122.7717
std:
- 1.0
- 1.0
- 1.0
- !Permute
channel_first: true
to_bgr: false
batch_transforms: batch_transforms:
- !PadBatch - !PadBatch
pad_to_stride: 32 pad_to_stride: 32
......
...@@ -192,6 +192,28 @@ FasterRCNNEvalFeed: ...@@ -192,6 +192,28 @@ FasterRCNNEvalFeed:
dataset_dir: dataset/objects365 dataset_dir: dataset/objects365
annotation: annotations/val.json annotation: annotations/val.json
image_dir: val image_dir: val
sample_transforms:
- !DecodeImage
to_rgb: False
with_mixup: False
- !NormalizeImage
is_channel_first: false
is_scale: False
mean:
- 102.9801
- 115.9465
- 122.7717
std:
- 1.0
- 1.0
- 1.0
- !ResizeImage
target_size: 800
max_size: 1333
interp: 1
- !Permute
channel_first: true
to_bgr: false
batch_transforms: batch_transforms:
- !PadBatch - !PadBatch
pad_to_stride: 32 pad_to_stride: 32
...@@ -200,6 +222,24 @@ FasterRCNNTestFeed: ...@@ -200,6 +222,24 @@ FasterRCNNTestFeed:
batch_size: 1 batch_size: 1
dataset: dataset:
annotation: dataset/obj365/annotations/val.json annotation: dataset/obj365/annotations/val.json
sample_transforms:
- !DecodeImage
to_rgb: False
with_mixup: False
- !NormalizeImage
is_channel_first: false
is_scale: False
mean:
- 102.9801
- 115.9465
- 122.7717
std:
- 1.0
- 1.0
- 1.0
- !Permute
channel_first: true
to_bgr: false
batch_transforms: batch_transforms:
- !PadBatch - !PadBatch
pad_to_stride: 32 pad_to_stride: 32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册