Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Jan 15, 2025
1 parent 176859e commit 12b1687
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions luxonis_ml/data/datasets/base_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
...

Expand Down

0 comments on commit 12b1687

Please sign in to comment.