Skip to content

Commit

Permalink
fixed missing no_object label when constructing LabelList in Predicti…
Browse files Browse the repository at this point in the history
…onConverter
  • Loading branch information
Daankrol committed Dec 24, 2024
1 parent 33b1c90 commit ed99a20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class InferenceResultsToPredictionConverter(metaclass=abc.ABCMeta):
def __init__(
self, labels: LabelList, configuration: Optional[Dict[str, Any]] = None
):
self.labels = labels.get_non_empty_labels()
self.labels = labels
self.empty_label = labels.get_empty_label()
self.configuration = configuration

Expand Down

0 comments on commit ed99a20

Please sign in to comment.