diff --git a/frigate/detectors/plugins/axelera.py b/frigate/detectors/plugins/axelera.py index e1ce7407cd..8fbec6b6b3 100644 --- a/frigate/detectors/plugins/axelera.py +++ b/frigate/detectors/plugins/axelera.py @@ -243,9 +243,7 @@ class _AxeleraInference: if frame.ndim == 4: # Frigate feeds a batched NHWC frame (1, H, W, C); drop the batch dim if frame.shape[0] != 1: - raise ValueError( - f"Unexpected batch dimension in frame: {frame.shape}" - ) + raise ValueError(f"Unexpected batch dimension in frame: {frame.shape}") frame = frame[0] frame = np.ascontiguousarray(frame) self._frame_q.put(frame)