fix failing tests (reduce threshold to 0.2)

This commit is contained in:
kirilllzaitsev 2023-07-20 09:17:47 +02:00
parent fccbe6baa2
commit fc1e899575
1 changed files with 4 additions and 4 deletions

View File

@ -95,10 +95,10 @@ for det in DUMMY_DET_DATASET.annotations.values():
"predictions, targets, classes, conf_threshold, iou_threshold, expected_result, exception",
[
(
[CERTAIN_DETECTIONS],
[DETECTIONS],
[CERTAIN_DETECTIONS],
CLASSES,
0.3,
0.2,
0.5,
IDEAL_CONF_MATRIX,
DoesNotRaise(),
@ -134,7 +134,7 @@ def test_from_detections(
DETECTION_TENSORS,
CERTAIN_DETECTION_TENSORS,
CLASSES,
0.3,
0.2,
0.5,
IDEAL_CONF_MATRIX,
DoesNotRaise(),
@ -170,7 +170,7 @@ def test_from_tensors(
DETECTION_TENSORS[0],
CERTAIN_DETECTION_TENSORS[0],
NUM_CLASSES,
0.3,
0.2,
0.5,
IDEAL_CONF_MATRIX,
DoesNotRaise(),