Is 'ignore_index=0' necessary for binary classification? #503
Unanswered
dakomura
asked this question in
Classification
Replies: 1 comment 2 replies
-
Hi @dakomura, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use the IoU metric for the binary segmentation task (background or target).
The prediction matrix has only one channel for the target class (not 2 channels for background and target class).
The current code is as follows.
Do I need to add 'ignore_index=0' when I'm only interested in the target class?
Beta Was this translation helpful? Give feedback.
All reactions