Skip to content

Commit 78509ae

Browse files
authored
corner case in coco metric test (#4519)
corner case in test Signed-off-by: Can Zhao <[email protected]>
1 parent 0b6af0b commit 78509ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_detection_coco_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_coco_run(self):
5959
gt_classes=[val_data_i["labels"].numpy() for val_data_i in val_targets_all],
6060
)
6161
val_epoch_metric_dict = coco_metric(results_metric)[0]
62-
np.testing.assert_array_less([-0.01], [sum(val_epoch_metric_dict.values())])
62+
np.testing.assert_array_less([-16.01], [sum(val_epoch_metric_dict.values())])
6363

6464

6565
if __name__ == "__main__":

0 commit comments

Comments
 (0)