Skip to content

No problems with all losses, except JaccardLoss #884

Open
@JonasZaoui

Description

@JonasZaoui

Hi !
A quick question about a loss, I've used quite a few losses and loss mixtures without any problems, but when I use iou loss, I only get empty predictions. My ground truth is a multiclass mask, without encoding labels on channels

loss = smp.losses.JaccardLoss(mode='multiclass', from_logits=True)

However, with the other losses, I'm fine with multiclasses, and with logits too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions