mmsegmentation/configs/fcn/fcn_r50-d8_480x480_40k_pascal_context.py
sennnnn 7b5c56bc76 Fix "the output num_classes of auxiliary head is not same as num_classes of ground truth seg_map". (#488)
* Fix "the output num_classes of auxiliary head is not match num_classes of ground truth seg_map".

* Fix spelling mistake;

* Modify "model download link", "log link";
2021-04-24 15:31:29 -07:00

10 lines
406 B
Python

_base_ = [
'../_base_/models/fcn_r50-d8.py', '../_base_/datasets/pascal_context.py',
'../_base_/default_runtime.py', '../_base_/schedules/schedule_40k.py'
]
model = dict(
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)