Skip to content

Commit

Permalink
aug
Browse files Browse the repository at this point in the history
  • Loading branch information
pbcquoc committed Nov 29, 2020
1 parent b00660d commit d424594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vietocr/loader/aug.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self):

# color
sometimes(iaa.AddToHueAndSaturation(value=(-10, 10), per_channel=True)),
sometimes(iaa.SigmoidContrast(gain=(3, 10), cutoff=(0.4, 0.6)), per_channel=True),
sometimes(iaa.SigmoidContrast(gain=(3, 10), cutoff=(0.4, 0.6), per_channel=True)),
sometimes(iaa.Invert(0.25, per_channel=0.5)),
sometimes(iaa.Solarize(0.5, threshold=(32, 128))),
sometimes(iaa.Dropout2d(p=0.5)),
Expand Down

0 comments on commit d424594

Please sign in to comment.