mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Implement API to train classification models (#18475)
This commit is contained in:
committed by
Blake Blackshear
parent
6dc36fcbb4
commit
2c7b71b16e
@@ -150,10 +150,10 @@ class EmbeddingMaintainer(threading.Thread):
|
||||
)
|
||||
)
|
||||
|
||||
for name, model_config in self.config.classification.custom.items():
|
||||
for model_config in self.config.classification.custom.values():
|
||||
self.realtime_processors.append(
|
||||
CustomStateClassificationProcessor(
|
||||
self.config, model_config, name, self.requestor, self.metrics
|
||||
self.config, model_config, self.requestor, self.metrics
|
||||
)
|
||||
if model_config.state_config != None
|
||||
else CustomObjectClassificationProcessor(
|
||||
|
||||
Reference in New Issue
Block a user