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

BUG: Allow specification of full mask. #660

Merged
merged 1 commit into from
Nov 17, 2020
Merged

BUG: Allow specification of full mask. #660

merged 1 commit into from
Nov 17, 2020

Conversation

JoostJM
Copy link
Collaborator

@JoostJM JoostJM commented Nov 17, 2020

If a mask contains only a single label, a ValueError is raised stating no labels are found in the mask. However, this error should only be raised if the only label found is '0'.

Fixes #658

If a mask contains only a single label, a ValueError is raised stating no labels are found in the mask. However, this error should only be raised if the only label found is '0'.
@JoostJM JoostJM merged commit 9ccbec1 into master Nov 17, 2020
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

Successfully merging this pull request may close these issues.

[FEAT EXTRACTION] Unable to extract features using a mask covering the whole image
2 participants