mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-24 23:57:41 +03:00
Set type
This commit is contained in:
parent
3ba952e55a
commit
b78b7e4f14
@ -369,7 +369,7 @@ class RKNNModelRunner(BaseModelRunner):
|
|||||||
|
|
||||||
|
|
||||||
def get_optimized_runner(
|
def get_optimized_runner(
|
||||||
model_path: str, device: str, complex_model: bool = True, **kwargs
|
model_path: str, device: str | None, complex_model: bool = True, **kwargs
|
||||||
) -> BaseModelRunner:
|
) -> BaseModelRunner:
|
||||||
"""Get an optimized runner for the hardware."""
|
"""Get an optimized runner for the hardware."""
|
||||||
if is_rknn_compatible(model_path):
|
if is_rknn_compatible(model_path):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user