bowang-lab / MedSAM

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

Is their any possibilities to add SAM2AutomaticMaskGenerator ? #288

Closed anandguptatoothlens closed 2 weeks ago

anandguptatoothlens commented 1 month ago

Hi Is their any possibilities to add SAM2AutomaticMaskGenerator ?

JunMa11 commented 1 month ago

Hi @anandguptatoothlens ,

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

anandguptatoothlens commented 1 month 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 1 month ago

Here is a tutorial:

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