Skip to content

Commit

Permalink
fix: 🐞 Remove lowercase conversion for unique class names in merge_cl…
Browse files Browse the repository at this point in the history
…ass_lists function

Signed-off-by: Onuralp SEZER <[email protected]>
  • Loading branch information
onuralpszr committed Nov 1, 2024
1 parent 589d4f9 commit 62d869c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervision/dataset/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def merge_class_lists(class_lists: List[List[str]]) -> List[str]:

for class_list in class_lists:
for class_name in class_list:
unique_classes.add(class_name.lower())
unique_classes.add(class_name)

return sorted(list(unique_classes))

Expand Down

0 comments on commit 62d869c

Please sign in to comment.