How to use different weights in focalloss for binary classification tasks #4123
-
I am working on a
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi @yiheng-wang-nv , Could you please help share some comments here? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi @Minxiangliu , for a binary classification task, the length of |
Beta Was this translation helpful? Give feedback.
-
Hi @yiheng-wang-nv ,
output:
|
Beta Was this translation helpful? Give feedback.
Hi @Minxiangliu , for a binary classification task, the length of
weight
should be 2, likeweight=(0.5, 1)
.Correct me if I misunderstand your question, thanks.