Fix ov for LPR (#20117)

* Check complex model

* Reset state for complex models

* Send arg

* Fix

* Cleanup
This commit is contained in:
Nicolas Mowen
2025-09-17 15:21:57 -06:00
committed by GitHub
parent 26178444f3
commit 1efff67e32
2 changed files with 26 additions and 10 deletions
+3 -1
View File
@@ -43,7 +43,9 @@ 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