Spaces:
Runtime error
Runtime error
_base_ = ['./segformer_mit-b0_8xb2-160k_ade20k-512x512.py'] | |
checkpoint = 'https://download.openmmlab.com/mmsegmentation/v0.5/pretrain/segformer/mit_b5_20220624-658746d9.pth' # noqa | |
# model settings | |
model = dict( | |
backbone=dict( | |
init_cfg=dict(type='Pretrained', checkpoint=checkpoint), | |
embed_dims=64, | |
num_heads=[1, 2, 5, 8], | |
num_layers=[3, 6, 40, 3]), | |
decode_head=dict(in_channels=[64, 128, 320, 512])) | |