Image Segmentation
Transformers
PyTorch
upernet
Inference Endpoints
File size: 363 Bytes
b13b124
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
_base_ = [
    '../_base_/models/fcn_hr18.py', '../_base_/datasets/pascal_context.py',
    '../_base_/default_runtime.py', '../_base_/schedules/schedule_40k.py'
]
model = dict(
    decode_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)