Skip to content

Commit a1d03e2

Browse files
committed
fix readme and modify config comments
1 parent ef10627 commit a1d03e2

4 files changed

+8
-5
lines changed

configs/maskformer/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ pip install "mmdet>=3.0.0rc4"
5555
Note:
5656

5757
- All experiments of MaskFormer are implemented with 8 V100 (32G) GPUs with 2 samplers per GPU.
58-
- The results of MaskFormer are relatively not stable, variance of `R-101-D32` is 44.7 to 46.0, variance of `Swin-S` is 49.0 to 49.8.
58+
- The results of MaskFormer are relatively not stable. The accuracy (mIoU) of model with `R-101-D32` is from 44.7 to 46.0, and with `Swin-S` is from 49.0 to 49.8.
5959
- The ResNet backbones utilized in MaskFormer models are standard `ResNet` rather than `ResNetV1c`.
60-
- `MultiScaleFlipAug` is not supported in MMSegmentation 1.x version yet, we would add "ms+flip" results as soon as possible.
60+
- Test time augmentation is not supported in MMSegmentation 1.x version yet, we would add "ms+flip" results as soon as possible.

configs/maskformer/maskformer_r50-d32_8xb2-160k_ade20k-512x512.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
init_cfg=dict(type='Pretrained', checkpoint='torchvision://resnet50')),
3232
decode_head=dict(
3333
type='MaskFormerHead',
34-
in_channels=[256, 512, 1024, 2048], # pass to pixel_decoder inside
34+
in_channels=[256, 512, 1024,
35+
2048], # input channels of pixel_decoder modules
3536
feat_channels=256,
3637
in_index=[0, 1, 2, 3],
3738
num_classes=150,

configs/maskformer/maskformer_swin-s_upernet_8xb2-160k_ade20k-512x512.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
init_cfg=dict(type='Pretrained', checkpoint=checkpoint_file)),
2828
decode_head=dict(
2929
type='MaskFormerHead',
30-
in_channels=[96, 192, 384, 768], # pass to pixel_decoder inside
30+
in_channels=[96, 192, 384,
31+
768], # input channels of pixel_decoder modules
3132
))
3233

3334
# optimizer

configs/maskformer/maskformer_swin-t_upernet_8xb2-160k_ade20k-512x512.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
init_cfg=dict(type='Pretrained', checkpoint=checkpoint_file)),
2929
decode_head=dict(
3030
type='MaskFormerHead',
31-
in_channels=[96, 192, 384, 768], # pass to pixel_decoder inside
31+
in_channels=[96, 192, 384,
32+
768], # input channels of pixel_decoder modules
3233
))
3334

3435
# optimizer

0 commit comments

Comments
 (0)