Skip to content

Typo in comment: segmentation_models_pytorch/losses/dice.py #1169

Closed
@ariessunfeld

Description

@ariessunfeld

In dice.py, inside the forward method, a comment says: # Dice loss is undefined for non-empty classes.
However, I'm under the impression that this should instead say # Dice loss is undefined for empty classes.

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