Skip to content

Commit 13b7637

Browse files
Fix tests
Signed-off-by: Ashwin Vaidya <[email protected]>
1 parent 36a6c56 commit 13b7637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/python/unit/visualizer/test_scene.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_detection_scene(mock_image: Image, tmpdir: Path):
5555
"""Test if the detection scene is created."""
5656
detection_result = DetectionResult(
5757
bboxes=np.array([[0, 0, 128, 128], [32, 32, 96, 96]]),
58-
labels=np.array([1, 2]),
58+
labels=np.array([0, 1]),
5959
label_names=["person", "car"],
6060
scores=np.array([0.85, 0.75]),
6161
saliency_map=(np.ones((1, 2, 6, 8)) * 255).astype(np.uint8),

0 commit comments

Comments
 (0)