Skip to main content
nucleus

Highlights

Biom3d automatically configures the training of a 3D U-Net for 3D semantic segmentation.

The default configuration matches the performance of nnUNet but is much easier to use both for community users and developers. Biom3d is flexible for developers: easy to understand and easy to edit.

Code architecture of Biom3d versus code architecture of nnU-Net:

Biom3d modules nnUNet modules

Illustrations generated with pydeps module

Disclaimer: Biom3d does not include the possibility to use 2D U-Net or 3D-Cascade U-Net or Pytorch distributed parallel computing (only Pytorch Data Parallel) yet. However, these options could easily be adapted if needed.

We target two main types of users:

  • Community users, who are interested in using the basic functionalities of Biom3d: GUI or CLI, predictions with ready-to-use models or default training.
  • Deep-learning developers, who are interested in more advanced features: changing default configuration, writing of new Biom3d modules, Biom3d core editing etc.

Biom3d tutorials are now available online:

And a DEMO dataset can be downloaded here.

🔨 Installation

For the installation details, please check our documentation here: Installation

TL;DR: here is a single line of code to install biom3d:

pip install torch biom3d

✋ Usage

For Graphical User Interface users, please check our documentation here: GUI

For Command Line Interface users, please check our documentation here: CLI

For Deep Learning developers, the tutorials are currently being cooked stayed tuned! You can check the partial API documentation already: API

TL;DR: here is a single line of code to run biom3d on the BTCV challenge and reach the same performance as nnU-Net (no cross-validation yet):

python -m biom3d.preprocess_train\
 --img_dir data/btcv/Training/img\
 --msk_dir data/btcv/Training/label\
 --num_classes 13\
 --ct_norm

DEMO Dataset

A DEMO dataset of 3D can be downloaded here. This dataset can be helpful to interact with the Google Colab interface for the first time.

⚠ Disclaimer

Warning: This repository is still a work in progress and comes with no guarantees.

Issues

Please feel free to open an issue or send me an email if any problem with biom3d appears. But please make sure first that this problem is not referenced on the FAQ page: Frequently Asked Question

📑 Citation

If you find Biom3d useful in your research, please cite:

@misc{biom3d,
  title={{Biom3d} Easy-to-use Tool for 3D Semantic Segmentation of Volumetric Images using Deep Learning},
  author={Guillaume Mougeot},
  howpublished = {\url{https://github.com/GuillaumeMougeot/biom3d}},
  year={2023}
  }

@article {Mougeot2024.07.25.604800,
	author = {Mougeot, Guillaume and Safarbati, Sami and Al{\'e}got, Herv{\'e} and Pouchin, Pierre and Field, Nadine and Almagro, S{\'e}bastien and Pery, {\'E}milie and Probst, Aline and Tatout, Christophe and Evans, David E. and Graumann, Katja and Chausse, Fr{\'e}d{\'e}ric and Desset, Sophie},
	title = {Biom3d, a modular framework to host and develop 3D segmentation methods},
	elocation-id = {2024.07.25.604800},
	year = {2024},
	doi = {10.1101/2024.07.25.604800},
	publisher = {Cold Spring Harbor Laboratory},
	URL = {https://www.biorxiv.org/content/early/2024/10/28/2024.07.25.604800},
	eprint = {https://www.biorxiv.org/content/early/2024/10/28/2024.07.25.604800.full.pdf},
	journal = {bioRxiv}
}

💰 Fundings and Acknowledgements

This project has been inspired by the following publication: "nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation", Fabian Isensee et al, Nature Method, 2021.

This project has been supported by Oxford Brookes University and the European Regional Development Fund (FEDER). It was carried out between the laboratories of iGReD (France), Institut Pascal (France) and Plant Nuclear Envelop (UK).

Europe Brookes iGReD IP AURA UCA

Metadata

Release files for biom3d 0.1.2

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

Built distribution (wheel)

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

Release files / biom3d-0.1.2-2-py3-none-any.whl

Download URL biom3d-0.1.2-2-py3-none-any.whl
Size 278.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0adc0e79dd2971afed4455f23835690eb4e80ed6f78b7bbb5edcb184f7b9eba6
BLAKE2b-256 checksum
How to use checksums
aefaa74fc3e7a59fc2eadbd6325f804458d87e7f78444f8c622f35917e0fef6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Security for biom3d 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

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