Skip to content

Commit 5bf3530

Browse files
committed
fix update image output indices
1 parent 794fafb commit 5bf3530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selfdrive/modeld/modeld.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def run(self, bufs: dict[str, VisionBuf], transforms: dict[str, np.ndarray],
212212

213213
out = self.update_imgs(self.img_queues['img'], self.full_frames['img'], self.transforms['img'],
214214
self.img_queues['big_img'], self.full_frames['big_img'], self.transforms['big_img'])
215-
vision_inputs = {'img': out[1], 'big_img': out[3]}
215+
vision_inputs = {'img': out[0], 'big_img': out[1]}
216216

217217
if prepare_only:
218218
return None

0 commit comments

Comments
 (0)