Don't use staticmethod

This commit is contained in:
Nicolas Mowen 2025-06-14 09:27:50 -06:00 committed by Blake Blackshear
parent ef060b97ca
commit 2f4d7353f4

View File

@ -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."""