ENHANCE-PET / MOOSE

MOOSE (Multi-organ objective segmentation) a data-centric AI solution that generates multilabel organ segmentations to facilitate systemic TB whole-person research.The pipeline is based on nn-UNet and has the capability to segment 120 unique tissue classes from a whole-body 18F-FDG PET/CT image.
https://enhance.pet
GNU General Public License v3.0
178 stars 28 forks source link

MONAI processing, benchmarking and tests #115

Closed ltetrel closed 3 months ago

ltetrel commented 5 months ago

Adds:

For more information about changes, check associated PRs in original Moose repo.

Tested on gpu with linear interpolation, not b-spline because of VRAM limitations.

Currently, processing is done with simpleITK. Code can be heavily re-factored/simplified if limiting support to only MONAI processing (which also uses itk as backend).

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
moose ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 11:08am
ltetrel commented 4 months ago

So current state is that it is working after re-installing everythng in a fresh python venv on ubuntu using those instructions. There are deadlocks on system that have a lot number cores, I will investigate further with a new machine. In the meantime we can disable multi-threading in pre-processing. There is alos the question of high VRAM usage and solutions are either:

  1. Enforce high GPU requirement (at least 50GB VRAM)
  2. Use linear resampling => needs to be easilly configured by the user (in a yaml file instead of current python file)
  3. Increase number of patches
  4. Dynamically fall back to CPU if detected RAM usage is too high depending on hardware
ltetrel commented 3 months ago

@Keyn34 The base branch is changed, I will let you merge it,

LalithShiyam commented 3 months ago

@all-contributors please add @ltetrel for adding code and docs

allcontributors[bot] commented 3 months ago

@LalithShiyam

I've put up a pull request to add @ltetrel! :tada:

LalithShiyam commented 3 months ago

@all-contributors please add @Kitware for adding code and docs

allcontributors[bot] commented 3 months ago

@LalithShiyam

I've put up a pull request to add @Kitware! :tada: