Skip to content

Commit 09c0799

Browse files
committed
1 parent 3778c77 commit 09c0799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RandAugment/augmentations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def SolarizeAdd(img, addition=0, threshold=128):
9090

9191

9292
def Posterize(img, v): # [4, 8]
93-
v = int(v)
93+
v = int(v) + 1
9494
return PIL.ImageOps.posterize(img, v)
9595

9696

0 commit comments

Comments
 (0)