mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Add default model for ArmNN - it shares with CPU
This commit is contained in:
parent
9394e57b31
commit
1e78e48ec8
@ -1062,6 +1062,9 @@ class FrigateConfig(FrigateBaseModel):
|
|||||||
merged_model["path"] = "/cpu_model.tflite"
|
merged_model["path"] = "/cpu_model.tflite"
|
||||||
elif detector_config.type == "edgetpu":
|
elif detector_config.type == "edgetpu":
|
||||||
merged_model["path"] = "/edgetpu_model.tflite"
|
merged_model["path"] = "/edgetpu_model.tflite"
|
||||||
|
elif detector_config.type == "armgpu":
|
||||||
|
+ merged_model["path"] = "/cpu_model.tflite"
|
||||||
|
|
||||||
|
|
||||||
detector_config.model = ModelConfig.parse_obj(merged_model)
|
detector_config.model = ModelConfig.parse_obj(merged_model)
|
||||||
detector_config.model.check_and_load_plus_model(
|
detector_config.model.check_and_load_plus_model(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user