batchgeneratorsv2
This repository is work in progress. If builds upon the batchgenerators framework but makes several key changes to the transforms:
- Transforms now explicitly distinguish between data types: images, segmentation, pixel-wise regression target, keypoints, bbox
- 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.
- 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.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| batchgeneratorsv2-0.3.7.tar.gz | 64.6 kB | With provenance | Details for batchgeneratorsv2-0.3.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| batchgeneratorsv2-0.3.7-py3-none-any.whl | Python 3 | none | any | Details for batchgeneratorsv2-0.3.7-py3-none-any.whl |
Total release size: 144.8 kB
Release files / batchgeneratorsv2-0.3.7.tar.gz
| Download URL | batchgeneratorsv2-0.3.7.tar.gz |
|---|---|
| Size | 64.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53c84d34ee312ea5322b0671bef458b8b0eb9ee731618e5abdffc3e780988ba7
|
|
BLAKE2b-256 checksum How to use checksums |
297423ca0acb9c69ee93a9581d91f6d18653ea577aeab9ce70ecb8164a02b7a8
|
| 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 Oct 29, 2026.
Transparency logRelease files / batchgeneratorsv2-0.3.7-py3-none-any.whl
| Download URL | batchgeneratorsv2-0.3.7-py3-none-any.whl |
|---|---|
| Size | 80.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0db2f998f0037457674f5354a8969249d12139863be4fe135fb72f9bea3c7b56
|
|
BLAKE2b-256 checksum How to use checksums |
11707ab980664969e11f4f868272b0a433d9c1eff2be2355f51cd9c8a5d35add
|
| 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 Oct 29, 2026.
Transparency logSecurity for batchgeneratorsv2 0.3.7
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.
Attestation for batchgeneratorsv2-0.3.7.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 Oct 29, 2026.
Transparency logA 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.