Albumentations 1.4.8 Release Notes
- Support our work
- Documentation
- Deprecations
- Improvements and bug fixes
Support Our Work
- Love the library? You can contribute to its development by becoming a sponsor for the library. Your support is invaluable, and every contribution makes a difference.
- Haven't starred our repo yet? Show your support with a ⭐! It's just only one mouse click.
- Got ideas or facing issues? We'd love to hear from you. Share your thoughts in our issues or join the conversation on our Discord server for Albumentations
Documentation
Added to the documentation links to the UI on HuggingFace to explore hyperparameters visually.
Deprecations
RandomSnow
Updated interface:
Old way:
transform = A.Compose([A.RandomSnow(
snow_point_lower=0.1,
snow_point_upper=0.3,
p=0.5
)])
New way:
transform = A.Compose([A.RandomSnow(
snow_point_range=(0.1, 0.3),
p=0.5
)])
RandomRain
Old way
transform = A.Compose([A.RandomSnow(
slant_lower=-10,
slant_upper=10,
p=0.5
)])
New way:
transform = A.Compose([A.RandomRain(
slant_range=(-10, 10),
p=0.5
)])
Improvements
Created library with core functions albucore. Moved a few helper functions there.
We need this library to be sure that transforms are:
- At least as fast as
numpy
andopencv
. For some functions it is possible to be faster than both of them. - Easier to debug.
- Could be used in other projects, not related to Albumentations.
Bugfixes
- Bugfix in
check_for_updates
. Now the pipeline does not throw an error regardless of why we cannot check for update. - Bugfix in
RandomShadow
. Does not create unexpected purple color on bright white regions with shadow overlay anymore. - BugFix in
Compose
. NowCompose([])
does not throw an error, but just works asNoOp
by @ayasyrev - Bugfix in
min_max
normalization. Now return 0 and not NaN on constant images. by @ternaus - Bugfix in
CropAndPad
. Now we can sample pad/crop values for all sides with interface like((-0.1, -0.2), (-0.2, -0.3), (0.3, 0.4), (0.4, 0.5))
by @christian-steinmeyer - Small refactoring to decrease tech debt by @ternaus and @ayasyrev