Skip to content

Commit cb695a3

Browse files
committed
typo fix
1 parent e7e4be6 commit cb695a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

megadetector/visualization/visualize_db.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def visualize_db(db_path, output_dir, image_base_dir, options=None):
321321
box_classes = []
322322
box_score_strings = []
323323

324-
# All the class labels we've seen for this image (with out without bboxes)
324+
# All the class labels we've seen for this image (with or without bboxes)
325325
image_categories = set()
326326

327327
extra_annotation_field_string = ''
@@ -368,6 +368,7 @@ def visualize_db(db_path, output_dir, image_base_dir, options=None):
368368
category_name = category_name.replace('"','')
369369
category_name = '<a href="https://www.google.com/search?tbm=isch&q={}">{}</a>'.format(
370370
category_name,category_name)
371+
371372
image_categories.add(category_name)
372373

373374
assert not ('bbox' in anno and 'bbox_relative' in anno), \

0 commit comments

Comments
 (0)