Skip to content

Commit

Permalink
Update test_odmetrics.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EMalagoli92 committed Apr 4, 2024
1 parent 22c7834 commit d1d9ee9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_odmetrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@


@parameterized_class(TESTS)
class TestPyCocoEquivalenceMetrics(unittest.TestCase):
"""Test equivalence: ODMetrics and `pycocotools.COCOeval()` method."""
class TestODMetrics(unittest.TestCase):
"""Test `od_metrics.ODMetrics` class."""

metrics_settings: dict
compute_settings: dict
Expand Down Expand Up @@ -128,7 +128,7 @@ def _test_summary(

# pylint: disable=R0915, R0912, R0914
def test_equivalence(self) -> None:
"""Test equivalence: od-metrics and `pycocotools`."""
"""Test equivalence: `od_metrics.ODMetrics` class and `pycocotools`."""
# Get annotations
y_true_od_metrics = annotations_generator(
**self.annotations_settings["y_true"])
Expand Down Expand Up @@ -289,7 +289,7 @@ def is_default_coco(od_metrics_obj) -> bool:


class TestIoU(unittest.TestCase):
"""Test IoU metric."""
"""Test `od_metrics.iou()` function."""

HIGH = 100000
SIZE = 3000
Expand Down

0 comments on commit d1d9ee9

Please sign in to comment.