Download Latest Version Albumentations 2.0.8 Release Notes source code.tar.gz (716.1 kB)
Email in envelope

Get an email when there's a new version of Albumentations

Home / 2.0.7
Name Modified Size InfoDownloads / Week
Parent folder
Albumentations 2.0.7 Release Notes source code.tar.gz 2025-05-15 708.0 kB
Albumentations 2.0.7 Release Notes source code.zip 2025-05-15 783.5 kB
README.md 2025-05-15 1.9 kB
Totals: 3 Items   1.5 MB 0

Want to stay in the loop?
Get updates on new features, documentation changes, and tools like the UI explorer by subscribing to our mailing list:
👉 https://albumentations.ai/subscribe/
You can unsubscribe anytime.


💖 Support Our Work

  1. Help Us Grow – Found Albumentations useful? Become a sponsor to support ongoing development.
  2. Show Your Support – A ⭐ on GitHub helps others discover us.
  3. Join the Community – Report issues or suggest improvements via GitHub Issues or join discussions on Discord.

🔧 Improvements

  • You can now pass an empty list for masks to any transform:
    python transform(image=image, masks=[])

New: area_for_downscale parameter

Added to: • RandomScaleLongestMaxSizeSmallestMaxSizeResize

area_for_downscale options: • None – default behavior • "image" – use cv2.INTER_AREA when image is downscaled • "image_mask" – use cv2.INTER_AREA for both image and mask

Using cv2.INTER_AREA for downscaling helps reduce artifacts, unlike other interpolation methods.

🐛 Bug Fixes • Fixed serialization in ToFloat

✅ TL;DR • ✅ Empty mask lists now supported • ✅ area_for_downscale improves downscaling quality • 🐞 Serialization fix in ToFloat • 💌 Subscribe for updates

Source: README.md, updated 2025-05-15