here is my degrade code:
ia.Sequential([
ia.OneOf([ia.MotionBlur(k=(5,9)),ia.GaussianBlur((3.0, 5.0)),ia.MedianBlur(k=(5,9)),ia.AverageBlur(k=(5, 9))]),
ia.Lambda(func_images),#降采样用pil放缩到(40,64)在放缩回来,抗锯齿resize
ia.OneOf([ia.AdditiveGaussianNoise(loc=(-20,20),scale=(0,3)),ia.AdditiveLaplaceNoise(loc=(-20,20),scale=(0,3))]),
ia.JpegCompression(70,90)
])
any suggestion about this
here is my degrade code: ia.Sequential([ ia.OneOf([ia.MotionBlur(k=(5,9)),ia.GaussianBlur((3.0, 5.0)),ia.MedianBlur(k=(5,9)),ia.AverageBlur(k=(5, 9))]), ia.Lambda(func_images),#降采样用pil放缩到(40,64)在放缩回来,抗锯齿resize ia.OneOf([ia.AdditiveGaussianNoise(loc=(-20,20),scale=(0,3)),ia.AdditiveLaplaceNoise(loc=(-20,20),scale=(0,3))]), ia.JpegCompression(70,90) ]) any suggestion about this