Update ade20k_repeat.py

pull/29/head
谢恩泽 2021-06-24 16:51:03 +08:00 committed by GitHub
parent c867a383ff
commit b0304c4faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ test_pipeline = [
# img_ratios=[0.5, 0.75, 1.0, 1.25, 1.5, 1.75],
flip=False,
transforms=[
dict(type='AlignedResize', keep_ratio=True, size_divisor=32),
dict(type='AlignedResize', keep_ratio=True, size_divisor=32), # Ensure the long and short sides are divisible by 32
dict(type='RandomFlip'),
dict(type='Normalize', **img_norm_cfg),
dict(type='ImageToTensor', keys=['img']),