nitesh-sawadia commited on
Commit
29ed392
1 Parent(s): 8784b66

Removed gaussian blur augmenter

Browse files
Files changed (1) hide show
  1. invoice_layoutlmv3.py +1 -1
invoice_layoutlmv3.py CHANGED
@@ -44,7 +44,7 @@ def quad_to_box(quad):
44
  def augment_image(file_path, file, bboxes):
45
  aug = iaa.OneOf([
46
  iaa.ElasticTransformation(alpha=(0, 2.0), sigma=0.25),
47
- iaa.imgcorruptlike.GaussianBlur(severity=1),
48
  iaa.imgcorruptlike.Pixelate(severity=2),
49
  iaa.imgcorruptlike.Contrast(severity=2),
50
  iaa.PerspectiveTransform(scale=(0.01, 0.15)),
 
44
  def augment_image(file_path, file, bboxes):
45
  aug = iaa.OneOf([
46
  iaa.ElasticTransformation(alpha=(0, 2.0), sigma=0.25),
47
+ # iaa.imgcorruptlike.GaussianBlur(severity=1),
48
  iaa.imgcorruptlike.Pixelate(severity=2),
49
  iaa.imgcorruptlike.Contrast(severity=2),
50
  iaa.PerspectiveTransform(scale=(0.01, 0.15)),