We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3778c77 commit 09c0799Copy full SHA for 09c0799
1 file changed
RandAugment/augmentations.py
@@ -90,7 +90,7 @@ def SolarizeAdd(img, addition=0, threshold=128):
90
91
92
def Posterize(img, v): # [4, 8]
93
- v = int(v)
+ v = int(v) + 1
94
return PIL.ImageOps.posterize(img, v)
95
96
0 commit comments