mmsegmentation/configs/mae/mae-base_upernet_8xb2-amp-160k_ade20k-512x512-ms.py
谢昕辰 a3a144a361
[Refactor] Update config names (#1964)
* rename ann configs

* update ann yml

* update

* update

* update

* update

* update

* update ann readme

* update

* update deeplabv3

* update readme

* fix yml

* fix beit
2022-08-26 18:48:56 +08:00

17 lines
686 B
Python

_base_ = './mae-base_upernet_8xb2-amp-160k_ade20k-512x512.py'
test_pipeline = [
dict(type='LoadImageFromFile'),
# TODO: Refactor 'MultiScaleFlipAug' which supports
# `min_size` feature in `Resize` class
# img_ratios is [0.5, 0.75, 1.0, 1.25, 1.5, 1.75]
# original image scale is (2048, 512)
dict(type='Resize', scale=(2048, 512), keep_ratio=True),
# add loading annotation after ``Resize`` because ground truth
# does not need to do resize data transform
dict(type='LoadAnnotations', reduce_zero_label=True),
dict(type='PackSegInputs')
]
val_dataloader = dict(batch_size=1, dataset=dict(pipeline=test_pipeline))
test_dataloader = val_dataloader