RuntimeError: Empty probability map found (None)
See original GitHub issueHi all,
I am getting this error: RuntimeError: Empty probability map found (None)
when I use LabelSampler
during training. From the error, it seems like the labelmap for the image has only zeros. Is there any way to see which image is giving this issue…because I am getting this issue when I do the first next(train_loader)
always. So, I am not able to check which Labelmap is zero.
Thanks for your help,
Megh
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Source code for torchio.data.sampler.weighted - Read the Docs
Raises: RuntimeError: If the probability map is empty. ... self.probability_map_name = probability_map self.cdf = None def _generate_patches( self, ...
Read more >Empty probability map found error · Discussion #781 - GitHub
I'm using torchio weighted sampler, so in theory, it should not sample patches from an empty probability map region, right?
Read more >python - final_types for RandomForestClassifier skl2onnx
I get the following error: RuntimeError: Number of declared outputs is unexpected, declared 'output' found 'output_label, output_probability'.
Read more >Inspect the configured ER component to prevent runtime issues
This article explains how to inspect the configured Electronic reporting (ER) components to prevent runtime issues that might occur.
Read more >Key Value Map Operations runtime error troubleshooting
For example, the following Key Value Map Operations policy has an empty ... You can find both of these items in the faultstring...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you so much!
Hi @fepegar, Thanks a lot! This is really helpful! Megh