Skip to main content

batchgeneratorsv2

This repository is work in progress. If builds upon the batchgenerators framework but makes several key changes to the transforms:

  1. Transforms now explicitly distinguish between data types: images, segmentation, pixel-wise regression target, keypoints, bbox
  2. All transforms have been reimplemented from scratch with a focus on performance. In case of performance parity between previous numpy and new torch-based implementations, preference is given to pytorch.
  3. Transforms are applied on a sample level, not a batch level as was done previously!

Caveats:

  • performance is optimized for CPU. GPU-based data augmentation is not supported (implementation may use numpy etc) and will not be supported
  • currently this repository only covers a small subset of the transforms available in batchgenerators. Feel free to contribute more

How to contribute

We are happy to accept PRs that further optimize performance and extend the available transformations!

  • Please provide benchmarking results relative to the old batchgenerators implementation (if applicable)
  • Please stick to the current transform template!

Acknowledgements

batchgeneratorsv2 developed and maintained by the Applied Computer Vision Lab (ACVL) of Helmholtz Imaging and the Division of Medical Image Computing at the German Cancer Research Center (DKFZ).

Metadata

Release files for batchgeneratorsv2 0.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for batchgeneratorsv2 0.3.8
File Size Uploaded Provenance Actions
batchgeneratorsv2-0.3.8.tar.gz 71.5 kB With provenance Details for batchgeneratorsv2-0.3.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for batchgeneratorsv2 0.3.8
File Interpreter ABI Platform Actions
batchgeneratorsv2-0.3.8-py3-none-any.whl Python 3 none any Details for batchgeneratorsv2-0.3.8-py3-none-any.whl

Total release size: 155.1 kB

Release files / batchgeneratorsv2-0.3.8.tar.gz

Download URL batchgeneratorsv2-0.3.8.tar.gz
Size 71.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a919ae5f2f165878731b81db4503b58cbf98ffcc21bd4241a2967742b2f28bce
BLAKE2b-256 checksum
How to use checksums
234ab35b4b2defbc53297fe569eb820b2aa0a76d2a59140d611f673b405ea109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / batchgeneratorsv2-0.3.8-py3-none-any.whl

Download URL batchgeneratorsv2-0.3.8-py3-none-any.whl
Size 83.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e472bd5940014cfe0d3c9401263aca0b8e6ebb75a69b8dffd332efd0c712aa1e
BLAKE2b-256 checksum
How to use checksums
9474423932e712d92d8e178233bc7a81457157fd0442e1689b71f88850df904d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for batchgeneratorsv2 0.3.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for batchgeneratorsv2-0.3.8.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page