Skip to content

Commit d036307

Browse files
authored
Update iou.py
1 parent 73c4127 commit d036307

File tree

1 file changed

+2
-2
lines changed
  • labelbox/data/metrics/iou

1 file changed

+2
-2
lines changed

labelbox/data/metrics/iou/iou.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def miou_metric(ground_truths: List[Union[ObjectAnnotation,
1313
ClassificationAnnotation]],
1414
predictions: List[Union[ObjectAnnotation,
1515
ClassificationAnnotation]],
16-
include_subclasses=True) -> List[ScalarMetric]:
16+
include_subclasses=False) -> List[ScalarMetric]:
1717
"""
1818
Computes miou between two sets of annotations.
1919
These annotations should relate to the same data (image/video).
@@ -68,7 +68,7 @@ def feature_miou_metric(ground_truths: List[Union[ObjectAnnotation,
6868

6969
def data_row_miou(ground_truth: Label,
7070
prediction: Label,
71-
include_subclasses=True) -> Optional[float]:
71+
include_subclasses=False) -> Optional[float]:
7272
"""
7373
7474
This function is no longer supported. Use miou() for raw values or miou_metric() for the metric

0 commit comments

Comments
 (0)