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.8
Name Modified Size InfoDownloads / Week
Parent folder
Albumentations 2.0.8 Release Notes source code.tar.gz 2025-05-27 716.1 kB
Albumentations 2.0.8 Release Notes source code.zip 2025-05-27 793.2 kB
README.md 2025-05-27 2.4 kB
Totals: 3 Items   1.5 MB 1

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

Added area_for_downscale to RandomResizedCrop and RandomSizedCrop

parameter may have value: - image - image_mask - None

When enabled will use interpolation that was passed to the transform for upscale, but cv2.INTER_AREA for downscale, as for downscale INTER_AREA generates the least amount of artifacts.

image

Speedups

Vectorized application to videos and volume in

When applied to videos Albumentations on 1 CPU core is still, slower than torchvision on GTX 4090, (Benchmark on videos). But with such pull requests, the gap. hopefully, will get smaller.

Bugfixes

  • Fixed bug in MotionBlur, direction argument was not used.
  • Bugfix in saving / loading piplines to huggingface hub. Now it works in windows as well.
Source: README.md, updated 2025-05-27