Skip to content

Commit

Permalink
Fixed voc_format extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Manovich committed Mar 7, 2020
1 parent 623f718 commit eda0b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datumaro/datumaro/plugins/voc_format/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __iter__(self):
anns = []
ann_file = osp.join(anno_dir, item_id + '.xml')
if osp.isfile(ann_file):
root_elem = ET.parse(ann_file)
root_elem = ElementTree.parse(ann_file)
height = root_elem.find('size/height')
if height is not None:
height = int(height.text)
Expand Down

0 comments on commit eda0b42

Please sign in to comment.