diff --git a/frigate/detectors/detection_runners.py b/frigate/detectors/detection_runners.py index 9c2f4657a..8911c26ed 100644 --- a/frigate/detectors/detection_runners.py +++ b/frigate/detectors/detection_runners.py @@ -190,7 +190,7 @@ class OpenVINOModelRunner(BaseModelRunner): self.input_tensor = ov.Tensor(input_element_type, input_shape) except RuntimeError: # model is complex and has dynamic shape - raise + pass def get_input_names(self) -> list[str]: """Get input names for the model.""" diff --git a/frigate/detectors/plugins/openvino.py b/frigate/detectors/plugins/openvino.py index 0d3f016b1..9bb5f9ee3 100644 --- a/frigate/detectors/plugins/openvino.py +++ b/frigate/detectors/plugins/openvino.py @@ -43,7 +43,7 @@ class OvDetector(DetectionApi): self.w = detector_config.model.width self.runner = OpenVINOModelRunner( - model_path=detector_config.model.path, device=detector_config.device + model_path=detector_config.model.path, device=detector_config.device, complex_model=False ) # For dfine models, also pre-allocate target sizes tensor