Skip to content

Commit fb1314e

Browse files
committed
Fix incorrect bbox unpacking
1 parent 02c1a27 commit fb1314e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dlclive/pose_estimation_pytorch/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def _prepare_top_down(
314314
crops = []
315315
offsets_and_scales = []
316316
for bbox in bboxes:
317-
x1, y1, x2, y2 = bbox
317+
x1, y1, x2, y2 = bbox.tolist()
318318
cropped_frame, offset, scale = data.top_down_crop_torch(
319319
frame[0],
320320
(x1, y1, x2 - x1, y2 - y1),

0 commit comments

Comments
 (0)