huggingface / huggingface/evaluate

redundant code lines in metric

Open
#420 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.5k
Forks
341
PR merge metrics
No merged PRs in 30d

Description

Looks like this line and the one before it do the same thing:

https://github.com/huggingface/evaluate/blob/7fa754cc38c523b69054c67b8c3b8e3f4962fbf6/metrics/mean_iou/mean_iou.py#L145

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.