micro-sam vit_b_histopathology

Histopathology model (PathoSAM), backbone ViT-B (good speed/quality trade-off). Trained for nuclei in histopathology.

Unmodified mirror of a pretrained checkpoint from micro-sam (Segment Anything for Microscopy; code is MIT-licensed). Hashes match the model registry in micro_sam/util.py. The license of the weights is not stated here; check the original sources below.

Files

Usage

vit_b_histopathology is one of micro-sam's built-in model_type names, so it is normally downloaded automatically:

from micro_sam.util import get_sam_model

predictor = get_sam_model(model_type="vit_b_histopathology")

To use this mirror instead, download model.pt and pass it as checkpoint_path (get_sam_model(model_type="vit_b_histopathology", checkpoint_path="model.pt")). The library has submodules for prompt_based_segmentation (2D/3D), instance_segmentation (automatic), training (finetuning) and evaluation; see the documentation.

Recommended model sizes: vit_l or vit_b give the best trade-off between speed and quality; the authors report no advantage of vit_h, and vit_t is much faster but lower quality for many applications.

Training notes

The paper and its supplement do not cover this model; see the micro-sam documentation.

Citation

Please cite the micro-sam paper (Nature Methods) and the original Segment Anything publication if you use these weights.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including amorsi/micro-sam-vit-b-histopathology

Paper for amorsi/micro-sam-vit-b-histopathology