← Back to catalog

batchgenerators Adopt

Framework-agnostic Python data augmentation library for 2D and 3D medical imaging. Provides spatial transforms (elastic deformations, rotations, scaling, mirroring), intensity augmentations (gamma, brightness, contrast), noise injection, and anatomy-informed operations compatible with both PyTorch and TensorFlow training pipelines. Handles volumetric (3D) data natively — a differentiator from most general-purpose augmentation libraries. Used as the augmentation backend in nnU-Net but widely adopted independently for medical image segmentation and classification training. Apache 2.0, 1.2k stars, v0.25.1 (March 2024). A successor, batchgeneratorsv2, is in active development (February 2025). Developed at MIC-DKFZ / Helmholtz Imaging.

Judgement: Adopt

Adopt — committed within 3 months; 1177 stars (strong community); 169357 monthly downloads (widely used); permissive licence (Apache-2.0).

Derived deterministically by the MACH scorer from the signals below — not written prose.

Repository

Active — committed within the last month; has tests, CI

★ 1,177 stars · 234 forks · 37 open issues

Jupyter Notebook 87% Python 13%

Signals & lineage

Every value records the source it was harvested from.

FieldValueSource
citations101openalex
descriptionA framework for data augmentation for 2D and 3D image classification and segmentationgithub_api
discovered_condanot_founddiscovery
discovered_crannot_founddiscovery
discovered_doi10.5281/zenodo.3632567discovery
discovered_hfnot_founddiscovery
discovered_npmnot_founddiscovery
discovered_pypibatchgeneratorsdiscovery
has CITruegithub_api
has docsTruegithub_api
has releasesFalsegithub_api
has testsTruegithub_api
HuggingFace downloads (monthly)not_foundhuggingface
judgementAdoptmach_scorer
judgement reasonAdopt — committed within 3 months; 1177 stars (strong community); 169357 monthly downloads (widely used); permissive licence (Apache-2.0).mach_scorer
licenseApache-2.0github_api
openalex_idhttps://openalex.org/W6912259547openalex
openalex_typesoftwareopenalex
openalex_venueZenodo (CERN European Organization for Nuclear Research)openalex
publication_year2020openalex
PyPI downloads (monthly)169357pypi
archivedFalsegithub_api
repository created2017-10-27T12:43:51Zgithub_api
GitHub forks234github_api
repo healthActivemach_health
repo health reasoncommitted within the last month; has tests, CImach_health
homepageokgithub_api
languagesJupyter Notebook:87,Python:13github_api
last commit2026-11-04T09:03:55Zgithub_api
open issues37github_api
primary languageJupyter Notebookgithub_api
repo_size_kb7895github_api
GitHub stars1177github_api
topicsokgithub_api

Change history

Recorded deviations — when a harvested value changed between runs.

WhenFieldWasNowSource
2026-11-20T21:53:44.330700repo_health—Activemach_health
2026-11-20T21:53:44.330700repo_health_reason—committed within the last month; has tests, CImach_health
2026-11-20T21:53:44.330596judgement—Adoptmach_scorer
2026-11-20T21:53:44.330596judgement_reason—Adopt — committed within 3 months; 1177 stars (strong community); 169357 monthly downloads (widely used); permissive licence (Apache-2.0).mach_scorer
2026-11-20T21:47:43.630166hf_downloads——huggingface
2026-11-20T21:47:43.572962pypi_downloads—169357pypi
2026-11-20T21:47:43.109579citations—101openalex
2026-11-20T21:47:43.109579openalex_id—https://openalex.org/W6912259547openalex
2026-11-20T21:47:43.109579openalex_type—softwareopenalex
2026-11-20T21:47:43.109579openalex_venue—Zenodo (CERN European Organization for Nuclear Research)openalex
2026-11-20T21:47:43.109579publication_year—2020openalex
2026-11-20T21:47:43.109526discovered_conda——discovery
2026-11-20T21:47:43.109526discovered_cran——discovery
2026-11-20T21:47:43.109526discovered_doi—10.5281/zenodo.3632567discovery
2026-11-20T21:47:43.109526discovered_hf——discovery
2026-11-20T21:47:43.109526discovered_npm——discovery
2026-11-20T21:47:43.109526discovered_pypi—batchgeneratorsdiscovery
2026-11-20T21:47:41.469057has_ci—Truegithub_api
2026-11-20T21:47:41.469057has_docs—Truegithub_api
2026-11-20T21:47:41.469057has_releases—Falsegithub_api
2026-11-20T21:47:41.469057has_tests—Truegithub_api
2026-11-20T21:47:41.469057repo_languages—Jupyter Notebook:87,Python:13github_api
2026-11-20T21:47:41.468984description—A framework for data augmentation for 2D and 3D image classification and segmentationgithub_api
2026-11-20T21:47:41.468984license—Apache-2.0github_api
2026-11-20T21:47:41.468984repo_archived—Falsegithub_api
2026-11-20T21:47:41.468984repo_created—2017-10-27T12:43:51Zgithub_api
2026-11-20T21:47:41.468984repo_forks—234github_api
2026-11-20T21:47:41.468984repo_homepage——github_api
2026-11-20T21:47:41.468984repo_last_commit—2026-11-04T09:03:55Zgithub_api
2026-11-20T21:47:41.468984repo_open_issues—37github_api
2026-11-20T21:47:41.468984repo_primary_language—Jupyter Notebookgithub_api
2026-11-20T21:47:41.468984repo_size_kb—7895github_api
2026-11-20T21:47:41.468984repo_stars—1177github_api
2026-11-20T21:47:41.468984repo_topics——github_api