MedVL-SAM2: A unified 3D medical vision-language model for multimodal reasoning and prompt-driven segmentation
[🏠 Sa2VA] [📜 arXiv] [🤗 HuggingFace] [Gradio Demo] [Gradio Demo (By HuggingFace Offical)]
- Release Demo.
- Release evaluation code for each dataset.
- Release model weight.
- Release training code for InterVL-4b model.
- Release inference and test code.
This repository contains the code for the paper "MedVL-SAM2: A unified 3D medical vision-language model for multimodal reasoning and prompt-driven segmentation".
We provide the following models weights on huggingface:
We provide a script that implements interactive chat using gradio, which requires installing gradio. You can try it to build a local chat interface quickly.
PYTHONPATH=. python projects/llava_sam2/gradio/app.py PATH/TO/ModelUse uv to manage dependencies. Run uv sync to install everything, choosing the extra based on your model family:
uv sync --extra=legacyfor InternVL2.5 or earlier models (legacy Transformers).uv sync --extra=latestfor newer models (latest Transformers).
If you find this repository useful, please consider referring to the following paper:
@article{medvlsam2unified3dmedical,
title={MedVL-SAM2: A unified 3D medical vision-language model for multimodal reasoning and prompt-driven segmentation},
author={Yang Xing and Jiong Wu and Savas Ozdemir and Ying Zhang and Yang Yang and Wei Shao and Kuang Gong},
journal={arXiv pre-print},
year={2026}
}