We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posterize
solarize
Magnitudes are in range [1-10], but based on https://pillow.readthedocs.io/en/3.0.x/reference/ImageOps.html#PIL.ImageOps.posterize
[1-10]
solarize: range is [0, 256] posterize: range is [1, 8]
[0, 256]
[1, 8]
Shouldn't the magnitudes be normalized in https://github.com/DeepVoltaire/AutoAugment/blob/master/autoaugment.py#L210 ? For example, line 211 would be
"solarize": lambda img, magnitude: ImageOps.solarize(img, 256.0 / magnitude)
The text was updated successfully, but these errors were encountered:
All set, this is taken care of in ranges: https://github.com/DeepVoltaire/AutoAugment/blob/master/autoaugment.py#L173
Sorry, something went wrong.
No branches or pull requests
Magnitudes are in range
[1-10]
, but based on https://pillow.readthedocs.io/en/3.0.x/reference/ImageOps.html#PIL.ImageOps.posterizesolarize
: range is[0, 256]
posterize
: range is[1, 8]
Shouldn't the magnitudes be normalized in https://github.com/DeepVoltaire/AutoAugment/blob/master/autoaugment.py#L210 ? For example, line 211 would be
"solarize": lambda img, magnitude: ImageOps.solarize(img, 256.0 / magnitude)
The text was updated successfully, but these errors were encountered: