Skip to main content

๐Ÿ”ฌ MedicoSAM

A medical-domain SAM fine-tune and tooling library for interactive annotation and automatic semantic segmentation in 2D and 3D biomedical images.

Official codePaperWeights

โ† Model atlas

At a glanceโ€‹

FieldDetails
Model typeMedical-domain SAM segmentation model
Research team / organizationComputational Cell Analytics, University of Gรถttingen
Input / modality2D and 3D biomedical images; based on the upstream micro-sam ecosystem.
Prompt / interactionSAM-style points, boxes and masks; also exposes an additional pretrained segmentation decoder for semantic segmentation.
Code licenseCode: MIT. Check the OwnCloud checkpoint page and original SAM terms for weight-specific conditions.

๐Ÿ“š Paper and publicationโ€‹

MedicoSAM: Robust Improvement of SAM for Medical Imaging โ€” IEEE Transactions on Medical Imaging, 45(5), 1974โ€“1985 (May 2026), DOI: 10.1109/TMI.2025.3644811. Preprint: arXiv:2501.11734.

๐Ÿ“ฆ Checkpoints and accessโ€‹

The upstream project hosts vit_b_medicosam.pt on Gรถttingen OwnCloud. Download the checkpoint from the model link; do not assume the repository's MIT code license automatically covers that weight file.

The code, model checkpoint and any required foundation-model checkpoint can have different terms. Review each linked source before use or redistribution.

โš™๏ธ Official setup and inferenceโ€‹

git clone https://github.com/computational-cell-analytics/medico-sam.git
cd medico-sam
conda env create -f environment.yaml
conda activate medico-sam
pip install -e .
wget 'https://owncloud.gwdg.de/index.php/s/f5Ol4FrjPQWfjUF/download' \
-O vit_b_medicosam.pt

For an interactive annotation UI, the authors recommend micro-sam; follow the official TOOL_USAGE.md for the exact viewer workflow.

โš ๏ธ Version and practical notesโ€‹

The public vit_b_medicosam.pt file is a starting checkpoint. Record any downstream fine-tuning and the exact SAM variant used.

๐Ÿ“œ Licenseโ€‹

Code: MIT. Check the OwnCloud checkpoint page and original SAM terms for weight-specific conditions.

Citation: Cite the paper above and the upstream project as directed by its authors. This repository links to the original paper; it does not redistribute the code or weights.

Source pages checked: 27 October 2026. Upstream environments, weights and access policies may change; use the linked project as the source of truth.