Ender
(Grzegorz)
December 9, 2024, 2:41pm
1
I installed version 5.7.0. After reading the dcom file, I wanted to create DentalSegmentator. After pressing the “Apply” button and waiting a while, the following message appeared in the log.
2024/12/09 10:53:29.712 :: nnUNet is already installed (2.5.1) and compatible with requested version (nnunetv2).
2024/12/09 10:53:29.720 :: Downloading model weights…
Request for help
DentalSegmentator has section about failed to download model weights. See the link below:
3D Slicer extension for fully-automatic segmentation of CT and CBCT dental volumes.
Specific code involved though the error message never display(?) so maybe not a problem with the download.
def downloadWeights(self, progressCallback) -> bool:
"""
Removes the weight folder and tries to download the weights from the GitHub page.
If an internet connection is not available, keeps the current weights unchanged.
:returns: True if download was successful. False in case of no internet or failure during download.
"""
import shutil
import requests
progressCallback("Downloading model weights...")
if not self.hasInternetConnectionF():
self.errorDisplay(
"Failed to download weights (no internet connection). "
"Please retry or manually install them to proceed.\n"
"To manually install the weights, please refer to the documentation here :\n"
"https://github.com/gaudot/SlicerDentalSegmentator",
)
return False
if self.destWeightFolder.exists():
cc @Thibault_Pelletier
Hi @Ender ,
Your problem is most likely related to nnUNet install error on Python 3.9 which have been also reported here : Dental segmantator - #2 by jamesobutler
You should have more information on the actual error in the Python console.
Best,
Thibault