-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error messages for ROIs #274
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When using ROIs in the torch_em Dataloader (I used:
torch_em.default_segmentation_loader
) there is a generic error message if the ROIs do not fit (e.g. empty or incorrect size).Error message:
This message is quite difficult to interpret and therefore it is difficult to fix.
The error can be fixed by having a min_shape for the ROIs so ROIs are at least the shape of the patch_shape used.
I would suggest a more specific error message for this case.
The text was updated successfully, but these errors were encountered: