Skip to content

Commit 4c58c72

Browse files
authored
Update test_benchmark_script.py
1 parent c499cb7 commit 4c58c72

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/test_benchmark_script.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@ def test_benchmark_script_runs(tmp_path):
1818
out_dir.mkdir(exist_ok=True)
1919

2020
pixels = [2500, 10000]
21-
n_frames = 10
21+
n_frames = 15
2222

2323
for m in dog_models:
24-
benchmark_videos(m, dog_video, output=str(out_dir), n_frames=n_frames, pixels=pixels)
24+
print(f"Running dog model: {m}")
25+
result = benchmark_videos(m, dog_video, output=str(out_dir), n_frames=n_frames, pixels=pixels)
26+
print("Dog model result:", result)
2527

2628
for m in mouse_models:
27-
benchmark_videos(m, mouse_video, output=str(out_dir), n_frames=n_frames, pixels=pixels)
29+
print(f"Running mouse model: {m}")
30+
result = benchmark_videos(m, mouse_video, output=str(out_dir), n_frames=n_frames, pixels=pixels)
31+
print("Mouse model result:", result)
2832

2933
assert any(out_dir.iterdir())

0 commit comments

Comments
 (0)