mmsegmentation/configs_unify/hrnet/fcn_hr40_4x3_484e_cityscapes.py

11 lines
404 B
Python

_base_ = './fcn_hr18_4x3_484e_cityscapes.py'
model = dict(
pretrained='open-mmlab://msra/hrnetv2_w40',
backbone=dict(
extra=dict(
stage2=dict(num_channels=(40, 80)),
stage3=dict(num_channels=(40, 80, 160)),
stage4=dict(num_channels=(40, 80, 160, 320)))),
decode_head=dict(
in_channels=[40, 80, 160, 320], channels=sum([40, 80, 160, 320])))