question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

About 'Unable to determine Image IO reader for certain image file'

See original GitHub issue

Hello, I am having problem with just training the dataset with baseline nnUnet. Fabian has kindly written the conversion of dataset python file, and I just used it to convert kits 21 dataset. However following error occurs during preprocessing.

RuntimeError: Exception thrown in SimpleITK ImageFileReader_Execute: /tmp/SimpleITK/Code/IO/src/sitkImageReaderBase.cxx:105:
sitk::ERROR: Unable to determine ImageIO reader for "/home/mchangaf/nnUNetFrame/DATASET/nnUNet_raw/nnUNet_raw_data/
Task135_KiTS2021/imagesTr/case_00038_0000.nii.gz"

On certain files, Exception thrown in SimpleITK ImageFileReader occurs. Should I just ignore these errors and continue training?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
FabianIsenseecommented, Jul 20, 2021

Preprocessing is currently always done from scratch. We could change that in the future but unfortunately that’s how it is now. Please use -tl 2 and -tf 1 in an attempt to get it working 😃 This needs a lot of RAM, unfortunately

1reaction
trofimovacommented, Jul 17, 2021

i would say yes. if you still have the problem with opening the error files separately, please let us and @neheller know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RuntimeError: Exception thrown in SimpleITK ReadImage #434
The following error occurred when I ran the code of brain tumor image ... sitk::ERROR: Unable to determine ImageIO reader for "Image_Data/LG/0001".
Read more >
[ITK-users] sitk::ERROR Unable to determine ImageIO Reader
[ITK-users] sitk::ERROR Unable to determine ImageIO Reader ... used test images in the .tiff format and I still obtained the same errors.
Read more >
Can't read dicom with SimpleITK - Stack Overflow
When i try to read a DICOM image with ...
Read more >
[ITK-users] sitk::ERROR Unable to determine ImageIO Reader
Since the upgrade, I have not been able to load .tiff images into ... the error: sitk::ERROR: Unable to determine \ > ImageIO...
Read more >
Reading and Writing for Images and Transforms
By default, the ImageIO is automatically determined for a particular file based on the file name suffix and/or the contents of the file's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found