STDC/configs/setr/setr_vit-large_mla_8x1_768x768_80k_cityscapes.py
Rockey 2918220667
[Feature] add setr cityscapes benchmark (#1087)
* [Feature] add setr cityscapes benchmark

* change pretrain

* Update configs/_base_/datasets/cityscapes_768x768.py

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>

* remove redundant keys

* remove redundant keys

* fix lint error

* update readme

* update pretrain

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2021-12-03 00:18:50 -08:00

17 lines
546 B
Python

_base_ = [
'../_base_/models/setr_mla.py', '../_base_/datasets/cityscapes_768x768.py',
'../_base_/default_runtime.py', '../_base_/schedules/schedule_80k.py'
]
model = dict(
pretrained=None,
backbone=dict(
drop_rate=0,
init_cfg=dict(type='Pretrained', checkpoint='mmcls://vit_large_p16')),
test_cfg=dict(mode='slide', crop_size=(768, 768), stride=(512, 512)))
optimizer = dict(
lr=0.002,
weight_decay=0.0,
paramwise_cfg=dict(custom_keys={'head': dict(lr_mult=10.)}))
data = dict(samples_per_gpu=1)