NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Don't use staticmethod
Nicolas Mowen2f4d7353f412
diff --git a/frigate/util/classification.py b/frigate/util/classification.pyindex 2f5cc89f25..a2ba1bf266 100644--- a/frigate/util/classification.py+++ b/frigate/util/classification.py@@ -17,7 +17,6 @@ EPOCHS = 50LEARNING_RATE = 0.001-@staticmethoddef __generate_representative_dataset_factory(dataset_dir: str):def generate_representative_dataset():image_paths = []@@ -37,7 +36,6 @@ def __generate_representative_dataset_factory(dataset_dir: str):return generate_representative_dataset-@staticmethoddef __train_classification_model(model_name: str) -> bool:"""Train a classification model."""