Skip to content

compute_meandice and compute_meaniou should be compute_dice and compute_iou #5381

@wyli

Description

@wyli

Describe the bug
the basic logic in

def compute_meandice(
y_pred: torch.Tensor, y: torch.Tensor, include_background: bool = True, ignore_empty: bool = True
) -> torch.Tensor:

def compute_meaniou(
y_pred: torch.Tensor, y: torch.Tensor, include_background: bool = True, ignore_empty: bool = True
) -> torch.Tensor:

don't include any metrics reduction logic, so their names shouldn't contain 'mean'.

Metadata

Metadata

Assignees

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