# Install DentalSegmentator from behind restrictive firewall

**URL:** https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474
**Category:** Support
**Tags:** segmentation, ai, dental
**Created:** [September 29, 2024, 1:46am UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474 "2024-09-29T01:46:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![xYanshui](https://avatars.discourse-cdn.com/v4/letter/x/0ea827/32.png) [@xYanshui](https://discourse.slicer.org/u/xYanshui)
#### Post date: [September 29, 2024, 1:46am UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/1 "2024-09-29T01:46:52Z")

</div>

Thank you so much for developing the module. I came across with this error while applying segmentation.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/d/2d2839b0612b02ce5e6de5fb1c87054eed26e7f5.png)  
I tried to download the “.zip” file (“Dataset111\_453CT\_v100” I suppose?) from the guided Github page, and created `DentalSegmentator\Resources\ML` folder as required since I didn’t find them. But the error remained. I wonder how can I solve this problem?

---

<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 1, 2024, 1:57pm UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/2 "2024-10-01T13:57:32Z")

</div>

You need to complete [all the steps described in the module documentation](https://github.com/gaudot/SlicerDentalSegmentator?tab=readme-ov-file#failed-to-download--find-weights). There are further instructions below the first image (“Unzip the weight file…”).

---

<div class="post-metadata">

### Author: ![xYanshui](https://avatars.discourse-cdn.com/v4/letter/x/0ea827/32.png) [@xYanshui](https://discourse.slicer.org/u/xYanshui)
#### Post date: [October 2, 2024, 6:03am UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/3 "2024-10-02T06:03:07Z")

</div>

I tried to put `checkpoint_final.pth` file from the downloaded zip and created `download_info.json` file, both in the mentioned folder `DentalSegmentator\Resources\ML`. The error remains.

---

<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 2, 2024, 12:29pm UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/4 "2024-10-02T12:29:06Z")

</div>

The problem must be something trivial, but it is hard to guess without any specific information. I would recommend to attach [Visual Studio Code debugger](https://slicer.readthedocs.io/en/latest/developer_guide/debugging/python.html) and put breakpoint into [PythonDependencyChecker.py](https://github.com/gaudot/SlicerDentalSegmentator/blob/7eaa69532e59d468cac6a28ecdd6c6218107eccd/DentalSegmentator/DentalSegmentatorLib/PythonDependencyChecker.py#L59) and step through the code to see exactly what is happening. Setting up the debugger should not take more than 5-10 minutes and it will be obvious what is happening and what to do about it.

---

<div class="post-metadata">

### Author: ![xYanshui](https://avatars.discourse-cdn.com/v4/letter/x/0ea827/32.png) [@xYanshui](https://discourse.slicer.org/u/xYanshui)
#### Post date: [October 8, 2024, 3:09pm UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/5 "2024-10-08T15:09:47Z")

</div>

Sorry for replying late and I will try debugger these days. Maybe it’s a problem with the source of some python libraries. Thx for your timely help.

---

<div class="post-metadata">

### Author: ![RyderStevens](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@RyderStevens](https://discourse.slicer.org/u/RyderStevens)
#### Post date: [October 22, 2024, 1:38pm UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/6 "2024-10-22T13:38:31Z")

</div>

Have you tried it? I also want to know it.

---

<div class="post-metadata">

### Author: ![xYanshui](https://avatars.discourse-cdn.com/v4/letter/x/0ea827/32.png) [@xYanshui](https://discourse.slicer.org/u/xYanshui)
#### Post date: [November 4, 2024, 8:44am UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/7 "2024-11-04T08:44:20Z")

</div>

I found a post in local forum and it turned out to be a problem with access to online python libraries. I reset the environmental variables related to python libraries to change it for mirror url and it worked. The weight files should be downloaded manually and directly unzipped in file mentioned in the instruction, which may require to be newly built.

---

<div class="post-metadata">

### Author: ![Jb-force](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jb-force/32/79544_2.png) [@Jb-force](https://discourse.slicer.org/u/Jb-force)
#### Post date: [March 5, 2025, 4:43pm UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/8 "2025-03-05T16:43:35Z")

</div>

I’d like to know how you solve this problem in the end, thanks

---

<div class="post-metadata">

### Author: ![lili-yu22](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@lili-yu22](https://discourse.slicer.org/u/lili-yu22)
#### Post date: [March 13, 2025, 11:12am UTC](https://discourse.slicer.org/t/install-dentalsegmentator-from-behind-restrictive-firewall/39474/9 "2025-03-13T11:12:46Z")

</div>

can you explain in more detail ?I have encountered the same problem and tried many methods.I urgently need your help.thank you
