mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Classification train updates (#19173)
* Improve model train button * Add filters for classification * Cleanup * Don't run classification on false positives * Cleanup filter * Fix icon color
This commit is contained in:
committed by
Blake Blackshear
parent
8719216fa6
commit
55e5a55fa2
@@ -225,6 +225,9 @@ class CustomObjectClassificationProcessor(RealTimeProcessorApi):
|
||||
self.model_config.name
|
||||
].value = self.classifications_per_second.eps()
|
||||
|
||||
if obj_data["false_positive"]:
|
||||
return
|
||||
|
||||
if obj_data["label"] not in self.model_config.object_config.objects:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user