Comparison
albumentationsx vs batchgenerators vs batchgeneratorsv2 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 (volume data, volumetric masks, keypoints) data, with optimized performance and seamless integration into ML workflows. Available under AGPL-3.0-only or a commercial license with agreed coverage for your team, products, and deployments.
Actively maintained. Last release 5 days ago, commits in 22 of the last 26 weeks. A safe choice.
pip install albumentationsxData augmentation toolkit
Actively maintained. Last release 5 weeks ago, commits in 9 of the last 26 weeks. A safe choice.
pip install batchgeneratorsBatchgenerators but better
Actively maintained. Last release 3 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install batchgeneratorsv2image 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
- torchvision is the most used: 18.9M downloads a month, 110× more than batchgenerators.
- Maintenance is comparable: albumentationsx 85, torchvision 83, batchgeneratorsv2 80, batchgenerators 76 on Pythie’s Index.
- batchgeneratorsv2 is growing fastest: downloads +21% over the last month.
- albumentationsx is the newcomer: first released Jun 2025.
- Safe default for a new project: torchvision.
Side by side
| Metric | albumentationsx | batchgenerators | batchgeneratorsv2 | torchvision |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 76 | Pythie’s Index: 80 | Pythie’s Index: 83 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 150.8K | 172.4K | 145.2K | 18.9M |
| Downloads, month over month | 0% | +17% | +21% | +12% |
| GitHub stars | 604 | 1.2K | 33 | 18K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 35 | 15 | 4.1K |
| Last release | Nov 26, 2026 | Oct 29, 2026 | Nov 12, 2026 | Oct 28, 2026 |
| Releases, 12 months | 51 | 5 | 7 | 8 |
| Weeks with commits | 22 / 26 | 9 / 26 | 10 / 26 | 23 / 26 |
| Recent contributors | 2 | 12 | 8 | 21 |
| First release | Jun 2025 | Feb 2019 | Apr 2024 | May 2019 |
| Python versions | 3.11 – 3.14 | – | – | – |
| License | AGPL-3.0-only | Apache-2.0 | Apache-2.0 | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.