Comparison
albumentations vs batchgeneratorsv2 vs imgaug vs torchvision
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fast, flexible, and advanced augmentation library for deep learning, computer vision, and medical imaging. Albumentations offers a wide range of transformations for both 2D (images, masks, bboxes, keypoints) and 3D (volumes, volumetric masks, keypoints) data, with optimized performance and seamless integration into ML workflows.
Low maintenance activity. Last release 18 months ago. Weaker on recent releases and release cadence.
pip install albumentationsBatchgenerators but better
Actively maintained. Last release 3 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install batchgeneratorsv2Image augmentation library for deep neural networks
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install imgaugimage and video datasets and models for torch deep learning
Actively maintained. Last release 5 weeks ago, commits in 23 of the last 26 weeks. A safe choice.
pip install torchvisionIn short
- imgaug looks abandoned: avoid it for new projects.
- torchvision is the most used: 18.9M downloads a month, 8.2× more than albumentations.
- Maintenance is comparable: torchvision 83, batchgeneratorsv2 80, albumentations 37 on Pythie’s Index.
- batchgeneratorsv2 is growing fastest: downloads +21% over the last month.
- Safe default for a new project: torchvision.
Side by side
| Metric | albumentations | batchgeneratorsv2 | imgaug | torchvision |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | 80 |