Skip to content

Commit

Permalink
Merge pull request #1182 from DDMAL/fix_1179_IC_TypeError
Browse files Browse the repository at this point in the history
Solve name_set type error in interactive classifier
  • Loading branch information
homework36 authored Jun 20, 2024
2 parents 54aa0b6 + abb10cd commit 954eaee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ def serialize_class_names_to_json(settings):
for image in database:
cln=image['class_name']
if type(cln)==bytes:
cln=cln.decode()
name_set.add(image['class_name'])
cln=cln.decode()
name_set.add(cln)

for name in imported_class_names:
if type(name)==bytes:
Expand Down

0 comments on commit 954eaee

Please sign in to comment.