Skip to content

Commit

Permalink
No print, 27ms
Browse files Browse the repository at this point in the history
  • Loading branch information
haraschax committed Sep 26, 2024
1 parent 27fac49 commit b25a54f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions selfdrive/modeld/modeld.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ def run(self, buf: VisionBuf, wbuf: VisionBuf, transform: np.ndarray, transform_
tensor_inputs['input_imgs'] = Tensor.from_blob(rawbuf_ptr, IMG_INPUT_SHAPE, dtype=dtypes.uint8, device='QCOM')
else:
tensor_inputs['input_imgs'] = Tensor(self.frame.buffer_from_cl(input_imgs_cl)).reshape(IMG_INPUT_SHAPE)
a = tensor_inputs['input_imgs'].numpy().flatten()

print(a[:10], a[MODEL_FRAME_SIZE:MODEL_FRAME_SIZE+10])

if wbuf is not None:
big_input_imgs_cl = self.wide_frame.prepare(wbuf, transform_wide.flatten(), None)
Expand Down

0 comments on commit b25a54f

Please sign in to comment.