# SegmentWithSAM module not working

**URL:** <https://discourse.slicer.org/t/segmentwithsam-module-not-working/44800>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [October 17, 2025, 6:00pm UTC](https://discourse.slicer.org/t/segmentwithsam-module-not-working/44800 "2025-10-17T18:00:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jessica\_de\_Kort](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jessica_de_kort/32/70344_2.png) [@Jessica\_de\_Kort](https://discourse.slicer.org/u/Jessica_de_Kort)\
**Post date:** [October 17, 2025, 6:00pm UTC](https://discourse.slicer.org/t/segmentwithsam-module-not-working/44800/1 "2025-10-17T18:00:54Z")

</div>

Hello! I am trying to use SegmentWithSAM module. I downloaded it through Extension Wizard, restarted Slicer a few times, and the module has no prompts or buttons on the left hand side of the screen. I looked at the error code and it mentions something about a bad git. I am not quite sure what that means or if that is the problem. Does anyone have any ideas on what to do?

Here is a photo of the interface:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/a/da2e111a0625d607d0cf432e01ccbdbf56da3e5c.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [October 17, 2025, 6:39pm UTC](https://discourse.slicer.org/t/segmentwithsam-module-not-working/44800/2 "2025-10-17T18:39:58Z")

</div>

I haven’t seen any SAM variant outperforming classic interactive segmentation tools for medical image segmentation. Therefore, I would not spend time with trying to figure out why this this extension fails.

In contrast, NNInteractive model is an AI-based interactive segmentation tool that actually works, and it works really well. For many segmentation tasks it performs much better than classic tools. You can often get a perfect segmentation of a bone from a single click. I would recommend to use it instead of any SAM-based tools. It is available in the Extensions Manager.

---

<div class="post-metadata">

**Author:** ![Jessica\_de\_Kort](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jessica_de_kort/32/70344_2.png) [@Jessica\_de\_Kort](https://discourse.slicer.org/u/Jessica_de_Kort)\
**Post date:** [October 22, 2025, 3:49pm UTC](https://discourse.slicer.org/t/segmentwithsam-module-not-working/44800/3 "2025-10-22T15:49:23Z")

</div>

The NNInteractive model needs a Nvidia GPU which we do not have yet. I will try NNInteractive once we have a Nvidia GPU. Thank you for your help.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 22, 2025, 4:17pm UTC](https://discourse.slicer.org/t/segmentwithsam-module-not-working/44800/4 "2025-10-22T16:17:07Z")

</div>

> [@Jessica\_de\_Kort](#):
>
> I will try NNInteractive once we have a Nvidia GPU.

You can always give it a try on [MorphoCloud]([https://morphocloud.org](https://morphocloud.org)). Brief instructions are here:

> <https://github.com/SlicerMorph/Tutorials/blob/MorphoCloud/MorphoCloud/NNInteractive.MD>

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 23, 2025, 2:30am UTC](https://discourse.slicer.org/t/segmentwithsam-module-not-working/44800/5 "2025-10-23T02:30:50Z")

</div>

Actually this is the correct link for the short tutorial: [Tutorials/MorphoCloud/NNInteractive.MD at main · SlicerMorph/Tutorials · GitHub](https://github.com/SlicerMorph/Tutorials/blob/main/MorphoCloud/NNInteractive.MD)
