Skip to content
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

Check if inputs are valid according to input shape parametrization #237

Closed
constantinpape opened this issue Mar 1, 2022 · 1 comment
Closed

Comments

@constantinpape
Copy link
Contributor

I don't think that we check whether a model input is valid according to the shape parametrization when running prediction.
I think that we should check this, but only throw a warning if it is not valid, since the model might still be able to process the image.
E.g. because we have the constrained that the min_shape must be big enough to crop away the halo, so smaller shapes might actually pass without issue.
This came up here: stardist/stardist#171 (comment)

@constantinpape
Copy link
Contributor Author

Thus is done now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant