add image path in load annotations for cvat format

main
kirill.sizov 5 years ago
parent 43fe33ff9f
commit aad580b9e0

@ -442,7 +442,8 @@ def load(file_object, annotations):
image_is_opened = True
frame_id = annotations.abs_frame_id(match_dm_item(
DatasetItem(id=osp.splitext(el.attrib['name'])[0],
attributes={'frame': el.attrib['id']}
attributes={'frame': el.attrib['id']},
image=el.attrib['name']
),
task_data=annotations
))

Loading…
Cancel
Save