13 lines
490 B
Python
13 lines
490 B
Python
_base_ = ['./twins_svt-s_uperhead_8xb2-160k_ade20k-512x512.py']
|
|
|
|
checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/twins/alt_gvt_base_20220308-1b7eb711.pth' # noqa
|
|
|
|
model = dict(
|
|
backbone=dict(
|
|
init_cfg=dict(type='Pretrained', checkpoint=checkpoint),
|
|
embed_dims=[96, 192, 384, 768],
|
|
num_heads=[3, 6, 12, 24],
|
|
depths=[2, 2, 18, 2]),
|
|
decode_head=dict(in_channels=[96, 192, 384, 768]),
|
|
auxiliary_head=dict(in_channels=384))
|