# dentalsegmentator Failed to load the segmentation, Something went wrong during the nnUNet processing.

**URL:** <https://discourse.slicer.org/t/dentalsegmentator-failed-to-load-the-segmentation-something-went-wrong-during-the-nnunet-processing/40682>\
**Category:** Support\
**Tags:** segmentation, segmentations, segment-editor, dental\
**Created:** [December 13, 2024, 3:47pm UTC](https://discourse.slicer.org/t/dentalsegmentator-failed-to-load-the-segmentation-something-went-wrong-during-the-nnunet-processing/40682 "2024-12-13T15:47:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![g.alh](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/g.alh/32/78869_2.png) [@g.alh](https://discourse.slicer.org/u/g.alh)\
**Post date:** [December 13, 2024, 3:47pm UTC](https://discourse.slicer.org/t/dentalsegmentator-failed-to-load-the-segmentation-something-went-wrong-during-the-nnunet-processing/40682/1 "2024-12-13T15:47:05Z")

</div>

I need help with this error I couldn’t figure it out regarding dentalsegmenttor

2024/12/13 17:49:45.935 :: nnUNet is already installed (2.5.1) and compatible with requested version (nnunetv2).  
2024/12/13 17:49:59.535 :: Transferring volume to nnUNet in C:/Users/hp/AppData/Local/Temp/Slicer-Mqpbvj  
2024/12/13 17:51:05.788 :: Starting nnUNet with the following parameters:  
2024/12/13 17:51:05.788 ::  
2024/12/13 17:51:05.788 :: C:\Users\hp\AppData\Local\slicer.org\Slicer 5.7.0-2024-10-28\lib\Python\Scripts\nnUNetv2\_predict.exe -i C:/Users/hp/AppData/Local/Temp/Slicer-Mqpbvj/input -o C:/Users/hp/AppData/Local/Temp/Slicer-Mqpbvj/output -d Dataset111\_453CT -tr nnUNetTrainer -p nnUNetPlans -c 3d\_fullres -f 0 -npp 1 -nps 1 -step\_size 0.5 -device cpu -chk checkpoint\_final.pth --disable\_tta  
2024/12/13 17:51:05.788 ::  
2024/12/13 17:51:05.788 :: JSON parameters :  
2024/12/13 17:51:05.788 :: {  
2024/12/13 17:51:05.788 :: “folds”: “0”,  
2024/12/13 17:51:05.788 :: “device”: “cpu”,  
2024/12/13 17:51:05.788 :: “stepSize”: 0.5,  
2024/12/13 17:51:05.788 :: “disableTta”: true,  
2024/12/13 17:51:05.788 :: “nProcessPreprocessing”: 1,  
2024/12/13 17:51:05.788 :: “nProcessSegmentationExport”: 1,  
2024/12/13 17:51:05.788 :: “checkPointName”: “”,  
2024/12/13 17:51:05.788 :: “modelPath”: {  
2024/12/13 17:51:05.788 :: “\_path”: “C:\Users\hp\AppData\Local\slicer.org\Slicer 5.7.0-2024-10-28\slicer.org\Extensions-33077\DentalSegmentator\lib\Slicer-5.7\qt-scripted-modules\Resources\ML”  
2024/12/13 17:51:05.788 :: }  
2024/12/13 17:51:05.788 :: }  
2024/12/13 17:51:05.894 :: nnUNet preprocessing…  
2024/12/13 17:51:08.519 :: Traceback (most recent call last):  
2024/12/13 17:51:08.519 :: File “C:\Users\hp\AppData\Local\slicer.org\Slicer 5.7.0-2024-10-28\lib\Python\Lib\runpy.py”, line 197, in \_run\_module\_as\_main  
2024/12/13 17:51:08.520 :: return \_run\_code(code, main\_globals, None,  
2024/12/13 17:51:08.520 :: File “C:\Users\hp\AppData\Local\slicer.org\Slicer 5.7.0-2024-10-28\lib\Python\Lib\runpy.py”, line 87, in _run\_code  
2024/12/13 17:51:08.520 :: exec(code, run\_globals)  
2024/12/13 17:51:08.520 :: File "C:\Users\hp\AppData\Local\slicer.org\Slicer 5.7.0-2024-10-28\lib\Python\Scripts\nnUNetv2\_predict.exe\_main_.py", line 4, in   
2024/12/13 17:51:08.520 :: File “C:\Users\hp\AppData\Local\slicer.org\Slicer 5.7.0-2024-10-28\lib\Python\Lib\site-packages\nnunetv2\inference\predict\_from\_raw\_data.py”, line 12, in   
2024/12/13 17:51:08.520 :: from batchgenerators.dataloading.multi\_threaded\_augmenter import MultiThreadedAugmenter  
2024/12/13 17:51:08.520 :: File “C:\Users\hp\AppData\Local\slicer.org\Slicer 5.7.0-2024-10-28\lib\Python\Lib\site-packages\batchgenerators\dataloading\multi\_threaded\_augmenter.py”, line 26, in   
2024/12/13 17:51:08.545 :: from threadpoolctl import threadpool\_limits  
2024/12/13 17:51:08.545 :: ModuleNotFoundError: No module named ‘threadpoolctl’  
2024/12/13 17:51:08.740 :: Loading inference results…  
2024/12/13 17:51:31.644 :: Error loading results :  
2024/12/13 17:51:31.644 :: Failed to load the segmentation.  
2024/12/13 17:51:31.644 :: Something went wrong during the nnUNet processing.  
2024/12/13 17:51:31.644 :: Please check the logs for potential errors and contact the library maintainers.

---

<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:** [December 13, 2024, 3:58pm UTC](https://discourse.slicer.org/t/dentalsegmentator-failed-to-load-the-segmentation-something-went-wrong-during-the-nnunet-processing/40682/2 "2024-12-13T15:58:18Z")

</div>

It seems that it is the same issue as this:

> [@Totalsegmentor showing missing threadpoolctl module](https://discourse.slicer.org/t/totalsegmentor-showing-missing-threadpoolctl-module/38452):
>
> hello community. I have updated my slicer version to version 5.6.2 and that seems to have broken Total Segmentor. I am getting a failed to compute results with non-zero exit status 1 with the following logs. it looks like a python module threadpoolctl is missing. My python is rudimentary, is there a way to install this manually and get total segmentor to reference it correctly? Processing started Writing input file to C:/Users/XXXX/AppData/Local/Temp/Slicer/\_\_SlicerTemp\_\_2024-09-20\_05+05+47.1…

The solution is described there.
