Multilabel_Mode #479
Replies: 1 comment 1 reply
-
According to docs: https://smp.readthedocs.io/en/latest/losses.html#segmentation_models_pytorch.losses.DiceLoss |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a small question about the loss.
I want to do the multi_label classification. I followed the cars segmentation example and tried to change the code to work for my project. This is the loss function I want to use.
segmentation_models_pytorch.losses.constants.MULTILABEL_MODE: str= 'multilabel'
I my code:
loss = segmentation_models_pytorch.utils.losses.constants.MULTILABEL_MODE
I also tried:
loss = segmentation_models_pytorch.utils.losses.constants.MULTILABEL_MODE: str = "multilabel"
However, it doesn't work. Can someone tell how to do this multilabel_mode?
Thank you!
Xiaoyan
Beta Was this translation helpful? Give feedback.
All reactions