14 lines
478 B
Python
14 lines
478 B
Python
_base_ = ['./twins_svt-s_fpn_fpnhead_8xb4-80k_ade20k-512x512.py']
|
|
|
|
checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/twins/alt_gvt_large_20220308-fb5936f3.pth' # noqa
|
|
|
|
model = dict(
|
|
backbone=dict(
|
|
init_cfg=dict(type='Pretrained', checkpoint=checkpoint),
|
|
embed_dims=[128, 256, 512, 1024],
|
|
num_heads=[4, 8, 16, 32],
|
|
depths=[2, 2, 18, 2],
|
|
drop_path_rate=0.3),
|
|
neck=dict(in_channels=[128, 256, 512, 1024]),
|
|
)
|