royerlab / napari-segment-anything

Segment Anything Model (SAM) native Qt UI
Apache License 2.0
190 stars 17 forks source link

Trying out MedSAM #25

Open macromeer opened 5 months ago

macromeer commented 5 months ago

Hi there,

I wanted to try out MedSAM in your Napari plugin, and the cheapest way was to download their model checkpoint, renaming it to sam_vit_b_01ec64.pth and replacing that file in the .cache/napari-segment-anything folder. Of course, one has to first select the vit_b model in the plugin widget such that it appears in the folder.

So this is more of a feature request. Allow users to try out other SAM checkpoints by being able to choose a model checkpoint location via the widget.