Fixed error if no cells detected, improved consistency#60
Open
MSt-10 wants to merge 2 commits intovanvalenlab:masterfrom
Open
Fixed error if no cells detected, improved consistency#60MSt-10 wants to merge 2 commits intovanvalenlab:masterfrom
MSt-10 wants to merge 2 commits intovanvalenlab:masterfrom
Conversation
MSt-10
commented
Apr 1, 2025
- Return type of model.predict(...) was changed here which causes an error if no cells were detected.
- improved consistency of returned values in case of no cells (single channel uint8 mask, empty bbox list)
- Return type of model.predict(...) was changed here: vanvalenlab@73bd4e3#diff-f21d549921220b19fc1455312955b96866ecbf013502dc5e85974d1995559e1fR303, caused error if no cells were detected. - In case of no cells, returned values consistent (single channel uint8 mask, empty bbox list)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.