mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-10 09:07:37 +03:00
onnx detector: pass model extra config through to provider setup
This commit is contained in:
parent
158677c905
commit
1cb7cb38e6
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user