From 12b168715c0f004b482e5ab172abc4291c60738f Mon Sep 17 00:00:00 2001 From: Martin Kozlovsky Date: Wed, 15 Jan 2025 16:49:57 -0500 Subject: [PATCH] updated doc --- luxonis_ml/data/datasets/base_dataset.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/luxonis_ml/data/datasets/base_dataset.py b/luxonis_ml/data/datasets/base_dataset.py index 7f013bbf..3d086339 100644 --- a/luxonis_ml/data/datasets/base_dataset.py +++ b/luxonis_ml/data/datasets/base_dataset.py @@ -74,13 +74,12 @@ def set_classes( ... @abstractmethod - def get_classes(self) -> Tuple[List[str], Dict[str, List[str]]]: - """Gets overall classes in the dataset and classes according to - computer vision task. + def get_classes(self) -> Dict[str, List[str]]: + """Get classes according to computer vision tasks. - @rtype: Tuple[List[str], Dict] - @return: A combined list of classes for all tasks and a - dictionary mapping tasks to the classes used in each task. + @rtype: Dict[str, List[str]] + @return: A dictionary mapping tasks to the classes used in each + task. """ ...