Skip to content

medmlx 0.4.5

Choose a tag to compare

@sandovaljoseph sandovaljoseph released this 06 Nov 07:51
· 72 commits to main since this release

Updates the nnU-Net and TotalSegmentator models to nnunet-mlx 0.7.0 and totalsegmentator-mlx 0.1.7.

Breaking changes

nnU-Net runs return the label map as mask. nnunet-liver and nnunet-autopet returned it as segmentation; the other nnU-Net models already used mask.

nnunet-brats2021 averages all five released folds by default. Pass fold=0 for the old result. Downloads from before November 2 hold only fold 0, so refresh them first:

medmlx setup nnunet-brats2021 --refresh
medmlx setup nnunet-autopet --refresh   # AutoPET's folds 1-4

Fixes

TotalSegmentator no longer writes probability outputs through an existing symlink. Outputs are staged privately and renamed into place, and a dangling symlink at an output path counts as an existing file.

Faster

Native 3-D nnU-Net inference is faster. A full liver CT (AMOS22, M5 Max) takes 466 s instead of 634 s, with identical labels.