> Exception thrown in SimpleITK HausdorffDistanceImageFilter_Execute

Hello,
first of all, thanks a lot for the ability to still use the dataset and to submit results!
When trying to submit my test set predictions, I received below error. Do you have an idea whether the problem is in my generated label files or on the server?
Thanks a lot in advance and kind regards,
Marcel

Error message from 06/15/2021 13:38:38:
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
Traceback (most recent call last):
File "/tmp/codalab/tmp2AMluK/run/program/evaluate.py", line 41, in
distfilter.Execute(gt == i, seg ==i)
File "/opt/conda/lib/python2.7/site-packages/SimpleITK/SimpleITK.py", line 35798, in Execute
return _SimpleITK.HausdorffDistanceImageFilter_Execute(self, image1, image2)
RuntimeError: Exception thrown in SimpleITK HausdorffDistanceImageFilter_Execute: /tmp/SimpleITK-build/ITK-prefix/include/ITK-4.13/itkDirectedHausdorffDistanceImageFilter.hxx:183:
itk::ERROR: pixelcount is equal to 0

Posted by: infmcel @ June 16, 2021, 3:53 p.m.

Dear Marcel,
It looks like it's coming from your label files: you only segmented the heart and not the other organs. However there should also be some regions with the other organs labels.
Hope it helps!
Good luck
Caroline

Posted by: caroline.petitjean @ June 17, 2021, 7:11 a.m.

Hello Caroline,
yes that's it! Thanks a lot for your fast support! :))

Posted by: infmcel @ June 22, 2021, 9:37 a.m.
Post in this thread