Skip to content

totalsegmentator-mlx 0.2.0

Choose a tag to compare

@sandovaljoseph sandovaljoseph released this 10 Nov 06:54
· 7 commits to main since this release

Breaking changes

Requires nnunet-mlx 0.8. Its resampling now rounds as nnU-Net does, so results can differ from 0.1.9 where that rounding applies.

New

configure_predictor_cache(max_bytes=..., max_entries=...) bounds the cached nnU-Net predictors. clear_predictor_cache() and predictor_cache_info() manage the cache; the default still keeps eight predictors, and a model larger than the byte budget runs uncached.

Lower memory

--probabilities-path no longer writes and rereads a temporary compressed CT. Predictions come back in memory, and the NPZ and PKL files are staged privately before either destination is replaced.

Large CTs are split into slabs without a full float64 copy of the volume.