From b25a54f4cd0ed6663ab4f388c3c51662b40e5f28 Mon Sep 17 00:00:00 2001 From: Bruce Wayne Date: Thu, 26 Sep 2024 16:16:34 -0700 Subject: [PATCH] No print, 27ms --- selfdrive/modeld/modeld.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfdrive/modeld/modeld.py b/selfdrive/modeld/modeld.py index 8e22b5af8492e2..1ad6a98510baf2 100755 --- a/selfdrive/modeld/modeld.py +++ b/selfdrive/modeld/modeld.py @@ -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)