add empty (preds,targets) test

This commit is contained in:
kirilllzaitsev
2023-07-20 09:27:29 +02:00
parent fc1e899575
commit ac39bdd487
+10 -1
View File
@@ -138,7 +138,16 @@ def test_from_detections(
0.5,
IDEAL_CONF_MATRIX,
DoesNotRaise(),
)
),
(
[],
[],
CLASSES,
0.2,
0.5,
create_empty_conf_matrix(NUM_CLASSES),
DoesNotRaise(),
),
],
)
def test_from_tensors(