Repository navigation
nnunet-mlx 0.7.1
New
siam segments head tissues from any MRI contrast or CT. It runs SIAM v0.3 by Valabregue et al. (romainVala/SIAM, paper): 17 labels from scalp and skull to the deep nuclei, plus an Anomalies label for pathology. Weights download on first use from MedMLX/siam; a typical head MRI needs about 16 GB of memory.
from nnunet_mlx.named_models import siam
result = siam(image_path="head.nii.gz", output_dir="out")nnunet-mlx predict runs models you trained with nnU-Net. It takes nnUNetv2_predict's options, converts the PyTorch checkpoints on first use and caches the result; nnunet-mlx convert writes a converted folder to keep or share. Trainer variants that build the network from the plans and pre-2.4 plans are supported.
uv pip install "nnunet-mlx[convert]"
nnunet-mlx predict -i imagesTs -o predictions -d 3 -c 3d_fullres