# Slicer-DeepSeg issue

**URL:** <https://discourse.slicer.org/t/slicer-deepseg-issue/24786>\
**Category:** Support\
**Created:** [August 16, 2022, 1:47pm UTC](https://discourse.slicer.org/t/slicer-deepseg-issue/24786 "2022-08-16T13:47:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![platanus](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@platanus](https://discourse.slicer.org/u/platanus)\
**Post date:** [August 16, 2022, 1:47pm UTC](https://discourse.slicer.org/t/slicer-deepseg-issue/24786/1 "2022-08-16T13:47:53Z")

</div>

Hello, All members in 3D-Slicer

Maybe… Have you ever used the Slicer-DeepSeg extension?

I’m reproducting extraction of brain tumor using Slicer-DeepSeg extension based on 3D-Slicer.

I’m running DeepSeg extension using MICCAI\_BraTS2020\_TrainingData in 3D-Slicer refering to Slicer-DeepSeg github.

I ran the Slicer-DeepSeg extension in 3D-Slicer as following.

1. Creation of Slicer-DeepSeg Extension/DeepSeg module  
1)I run ‘Extension Wizard’ module-\>2)Select ‘Select Extension’ button-\>3)Select ‘Slicer-DeepSeg’ folder-\> 4)Select whether ‘DeepSeg module’ loads or not

2. I downloaded dataset  
-MICCAI\_BraTS2020\_TrainingData

3. I run DeepSeg module using MICCAI\_BraTS2020\_TrainingData in 3D-Slicer  
(1) After pressing ‘Add Data’ button in ‘Welcome to Slicer’ module, I imported ‘BraTS20\_Training\_001’ folder in MICCAI\_BraTS2020\_TrainingData.  
(2) And then I selected ‘DeepSeg’ module in ‘modules finder’ option.  
(3) In Inputs item, I selected ‘BraTs20\_Training\_001\_flair\_1’ in ‘FLAIR Volume’ option.  
(4) In Outputs item, I selected one volume (MRI) dicom file in ‘Tumor Volume’  
(5) I set the different options in ‘Advanced Segmentation Parameters’ item as following.:

After completing setting using DeepSeg module in 3D-Slicer, I pressed ‘Apply’ button.

But It occurs the error that is “Failed to compute results: Incomplete or corrupted file detected. The sha256 file hash does not match the provided value of 941eb4b2c7da98310a95176e7adabe8f84d2e3df.  
Traceback (most recent call last):  
File “C:/Users/TRL 3D/Extension\_dev/Slicer-DeepSeg/DeepSeg/DeepSeg.py”, line 603, in onApplyButton modelPath = get\_file(pretrainedURL.split(”/“)[-1], pretrainedURL, File “C:\Users\TRL 3D\AppData\Local\NA-MIC\Slicer 5.1.0-2022-07-01\lib\Python\Lib\site-packages\keras\utils\data\_utils.py”, line 298, in get\_file  
raise ValueError(ValueError: Incomplete or corrupted file detected. The sha256 file hash does not match the provided value of 941eb4b2c7da98310a95176e7adabe8f84d2e3df.”.

Please, refer to attached image associated with error massage.  
[![sha256_error](https://user-images.githubusercontent.com/41041429/184850207-d1413721-fae4-47c9-ac00-888cb6541edb.png)](https://user-images.githubusercontent.com/41041429/184850207-d1413721-fae4-47c9-ac00-888cb6541edb.png)

Please, let me know in detail how to solve this problem.

Thank you for reading my writing.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 17, 2022, 9:04pm UTC](https://discourse.slicer.org/t/slicer-deepseg-issue/24786/2 "2022-08-17T21:04:09Z")

</div>

I guess you refer to code from [this repository](https://github.com/razeineldin/DeepSeg). Best to file an issue there.
