Skip to content

bincount in class_percentages fails on float labels #224

@perctrix

Description

@perctrix

segmentation.py:142 - torch.bincount requires integer tensors but label can be float after resampling/padding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions