mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Don't use staticmethod
This commit is contained in:
parent
13e90f7f49
commit
907e351dff
@ -17,7 +17,6 @@ EPOCHS = 50
|
||||
LEARNING_RATE = 0.001
|
||||
|
||||
|
||||
@staticmethod
|
||||
def __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
|
||||
|
||||
|
||||
@staticmethod
|
||||
def __train_classification_model(model_name: str) -> bool:
|
||||
"""Train a classification model."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user