Skip to content

Commit 6402380

Browse files
committed
WIP refactor benchmarking: close live
1 parent 0d6b2d5 commit 6402380

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dlclive/benchmark_pytorch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ def benchmark(
252252
frame_index += 1
253253

254254
cap.release()
255+
256+
dlc_live.close()
257+
255258
if save_video:
256259
vwriter.release()
257260

0 commit comments

Comments
 (0)