NV-Segment-CTMR · MLX weights
Native MLX safetensors weights converted from NVIDIA NV-Segment-CTMR revision 4fb8b4a6b2532be9f1c449a3726fe5440ab4213a, file vista3d_pretrained_model/model.safetensors. automatic.safetensors holds automatic graph tensors; correction.safetensors holds additional point-graph tensors. Names, layouts and float32 values are preserved. These are modified, split copies of NVIDIA's checkpoint.
NV-Segment-CTMR is NVIDIA's CT and MRI segmentation model, built on VISTA3D by Yufan He and co-authors. The model and the weights are theirs: see the original repository, NVIDIA-Medtech/NV-Segment-CTMR, and the VISTA3D paper, arXiv:2406.05285. This repository only repackages their released weights (nvidia/NV-Segment-CTMR) for MLX on Apple Silicon. Please cite their paper and star their repository if NV-Segment-CTMR is useful to you.
Use with mlx-segment-ct and model="mlx-segment-ctmr". The NVIDIA model card states that NV-Segment-CTMR does not support interactive point segmentation. The correction tensors do not establish point-interaction accuracy or support.
Quick start
uv venv --python 3.13
source .venv/bin/activate
uv pip install "mlx-segment-ct>=0.4.0"
Replace the example input paths with your own files.
from mlx_segment_ct import run
result = run(model="mlx-segment-ctmr", image_path="mri.nii.gz", output_dir="outputs")
print(result["outputs"]["mask"])
Weights download from this repository on first use, at a pinned revision. To fetch them yourself, download that revision and pass the folder as weights_path="models":
uv tool install huggingface-hub
hf download MedMLX/vista3d-ctmr-mlx --revision 5965596ca734e3c62c30a93cde8d43d2edc8fb56 --local-dir models
The input can be CT or MRI; modality picks the class set ("MRI_BODY" by default, "CT_BODY" or "MRI_BRAIN").
License and use
The model weights are distributed under the NVIDIA OneWay Non-Commercial License. Use is limited to noncommercial research or evaluation, and redistribution is subject to that license. See the original NVIDIA model card for model details and terms.
For research and education only. Not validated for clinical use; outputs require human review.
Citation
Please cite the original paper:
He, Y. et al. (2025). VISTA3D: a unified segmentation foundation model for 3D medical imaging. CVPR, 20863-20873. https://doi.org/10.1109/CVPR52734.2025.01943
If you use MedMLX, please cite the MedMLX paper:
@article{sandoval2026medmlx,
title = {MedMLX: On-Device Medical Imaging AI for Apple Silicon},
author = {Sandoval, J. and Sandoval, A. and Saleem, A.},
journal = {medRxiv},
year = {2026},
doi = {10.64898/2026.10.28.26366762}
}