Skip to main content

Batchgenerators but better

Project description

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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batchgeneratorsv2-0.3.4.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

batchgeneratorsv2-0.3.4-py3-none-any.whl (74.0 kB view details)

Uploaded Python 3

File details

Details for the file batchgeneratorsv2-0.3.4.tar.gz.

File metadata

  • Download URL: batchgeneratorsv2-0.3.4.tar.gz
  • Upload date:
  • Size: 51.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for batchgeneratorsv2-0.3.4.tar.gz
Algorithm Hash digest
SHA256 54b12eec1ed92f234f0e26c04b79e4f3670abb760c2603b7fc02c62c8e7b6e46
MD5 2753429f1d60b5031ffb69d88210fb1c
BLAKE2b-256 9bab19608488770312143c49daef6f60375853158897f76a1103035782b7d418

See more details on using hashes here.

Provenance

The following attestation bundles were made for batchgeneratorsv2-0.3.4.tar.gz:

Publisher: publish.yml on MIC-DKFZ/batchgeneratorsv2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file batchgeneratorsv2-0.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for batchgeneratorsv2-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d5c4d7bcb2cf9592e66e7b53a52ab6eba7591783b613d4a899f47cbf8158e7ae
MD5 3d3fc223c584ceb355e1b9c732408709
BLAKE2b-256 301cc05a303245b0be2e8196a83a33f84ff611a53095438974063888d3f86657

See more details on using hashes here.

Provenance

The following attestation bundles were made for batchgeneratorsv2-0.3.4-py3-none-any.whl:

Publisher: publish.yml on MIC-DKFZ/batchgeneratorsv2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page