mmsegmentation/configs/pspnet/pspnet_r50-d8_480x480_40k_p...

14 lines
509 B
Python
Raw Normal View History

_base_ = [
'../_base_/models/pspnet_r50-d8.py',
'../_base_/datasets/pascal_context.py', '../_base_/default_runtime.py',
'../_base_/schedules/schedule_40k.py'
]
crop_size = (480, 480)
preprocess_cfg = dict(size=crop_size)
model = dict(
preprocess_cfg=preprocess_cfg,
decode_head=dict(num_classes=60),
auxiliary_head=dict(num_classes=60),
test_cfg=dict(mode='slide', crop_size=(480, 480), stride=(320, 320)))
optimizer = dict(type='SGD', lr=0.004, momentum=0.9, weight_decay=0.0001)