From adc786e41f283bc66aeb019c13962dc32e7a418e Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 17 Sep 2025 14:49:39 -0600 Subject: [PATCH] Fix --- frigate/detectors/detection_runners.py | 2 +- frigate/detectors/plugins/openvino.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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