EasyCV/configs/segmentation/segformer/segformer_b2_coco.py

15 lines
347 B
Python

_base_ = './segformer_b0_coco.py'
model = dict(
pretrained=
'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b2_20220624-66e8bf70.pth',
backbone=dict(
embed_dims=64,
num_layers=[3, 4, 6, 3],
),
decode_head=dict(
in_channels=[64, 128, 320, 512],
channels=768,
),
)