-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Binary segmentation may only output zeros #1774
Comments
Thanks for your bug reporting. We will fix it asap. @xiexinch please have a look. |
Hi @wptoux, |
Me too, we alter code to make a multi-label binary segmentation, but the per pixel in binary preds has the same values. |
Hi @wptoux, @GuardSkill, |
wjkim81
pushed a commit
to wjkim81/mmsegmentation
that referenced
this issue
Dec 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The EncoderDecoder Segmentor seems not to take into account the binary segmentation case. The argmax linked below may only return 0 when num_classes=1 and using sigmoid as loss fuction.
mmsegmentation/mmseg/models/segmentors/encoder_decoder.py
Line 263 in 0e37281
mmsegmentation/mmseg/models/segmentors/encoder_decoder.py
Line 286 in 0e37281
The text was updated successfully, but these errors were encountered: