bowang-lab / MedSAM

Segment Anything in Medical Images
https://www.nature.com/articles/s41467-024-44824-z
Apache License 2.0
2.99k stars 415 forks source link

Is their any possibilities to add SAM2AutomaticMaskGenerator ? #288

Closed anandguptatoothlens closed 2 months ago

anandguptatoothlens commented 3 months ago

Hi Is their any possibilities to add SAM2AutomaticMaskGenerator ?

JunMa11 commented 3 months ago

Hi @anandguptatoothlens ,

Our focus is medical image segmentation. Unfortunately, the automask generation is not useful in this domain.

anandguptatoothlens commented 3 months ago

Thank you for your response, I am also working on medical disease image segmentation, how can i fine tune on custom medical data?

JunMa11 commented 3 months ago

Here is a tutorial:

https://github.com/bowang-lab/MedSAM/tree/MedSAM2?tab=readme-ov-file#fine-tune-sam2-on-abdomen-ct-dataset