mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-08 13:51:01 +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
|
LEARNING_RATE = 0.001
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def __generate_representative_dataset_factory(dataset_dir: str):
|
def __generate_representative_dataset_factory(dataset_dir: str):
|
||||||
def generate_representative_dataset():
|
def generate_representative_dataset():
|
||||||
image_paths = []
|
image_paths = []
|
||||||
@ -37,7 +36,6 @@ def __generate_representative_dataset_factory(dataset_dir: str):
|
|||||||
return generate_representative_dataset
|
return generate_representative_dataset
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
|
||||||
def __train_classification_model(model_name: str) -> bool:
|
def __train_classification_model(model_name: str) -> bool:
|
||||||
"""Train a classification model."""
|
"""Train a classification model."""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user