Skip to content

Cannot handle cases with zero intersection #82

@fnuabhimanyu

Description

@fnuabhimanyu

area_intersection = torch.histc(intersection, bins=K, min=0, max=K-1)
This line of code works if there are non-zero instances of intersection between the output and target. There should be a check for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions