change MotionBlur blur_limit from 6 to 7 to fix ValueError: Blur limit must be odd when centered=True. Got: (3, 6) ()

test-1.x
Hugo Tong 2023-03-29 10:37:29 +08:00 committed by GitHub
parent 67f25c6fb3
commit afe58a4a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
configs/textrecog/abinet

View File

@ -80,7 +80,7 @@ train_pipeline = [
type='mmdet.Albu',
transforms=[
dict(type='GaussNoise', var_limit=(20, 20), p=0.5),
dict(type='MotionBlur', blur_limit=6, p=0.5),
dict(type='MotionBlur', blur_limit=7, p=0.5),
]),
]),
dict(