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.2.tar.gz (51.0 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.2-py3-none-any.whl (73.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: batchgeneratorsv2-0.3.2.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for batchgeneratorsv2-0.3.2.tar.gz
Algorithm Hash digest
SHA256 636215d7ce56c33033a86f97577cb0a97b1a5c6b245d4ae4597f664191281366
MD5 d278dd0d4101cc206f4fb9ffef221ba5
BLAKE2b-256 527c65bd7f955348c03db3d9a59379baab4a19f86579593fb8189f44dc257a17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batchgeneratorsv2-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cc20db72d2f589baf14a2ce5290b138c99b8247b2b78a06f2c47f40910aadee1
MD5 fa54aa0eedcc3268cd489437acd1399e
BLAKE2b-256 5f8aa45a6938f1619e340740f8df5b5f9aead8571d7e92322c6eb5021c74a792

See more details on using hashes here.

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