onnx detector: pass model extra config through to provider setup

This commit is contained in:
Max Lansing 2026-02-18 18:32:00 -08:00
parent 158677c905
commit 1cb7cb38e6

View File

@ -40,6 +40,7 @@ class ONNXDetector(DetectionApi):
path, path,
detector_config.device, detector_config.device,
model_type=detector_config.model.model_type, model_type=detector_config.model.model_type,
**detector_config.model_extra,
) )
self.onnx_model_type = detector_config.model.model_type self.onnx_model_type = detector_config.model.model_type