Skip to content

Commit

Permalink
Doc string fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aljazkonec1 committed Sep 11, 2024
1 parent 1134c6e commit 245145a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions depthai_nodes/ml/messages/creators/classification_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@ def create_classification_sequence_message(
@type remove_duplicates: bool
@param concatenate_text: If True, concatenates consecutive words based on the space character.
@type concatenate_text: bool
Returns
-------
**Type**: Classifications
A message with attributes `classes` and `scores`, where `classes` is a list of class names and `scores` is a list of corresponding scores.
@return: A Classification message with attributes `classes` and `scores`, where `classes` is a list of class names and `scores` is a list of corresponding scores.
@rtype: Classifications
@raises ValueError: If 'classes' is not a list of strings.
@raises ValueError: If 'scores' is not a 2D array of list of shape (sequence_length, n_classes).
@raises ValueError: If the number of classes does not match the number of columns in 'scores'.
Expand Down

0 comments on commit 245145a

Please sign in to comment.