Skip to content

Commit

Permalink
Merge pull request #3633 from openvinotoolkit/sk/allow-dots-in-3d-for…
Browse files Browse the repository at this point in the history
…mats

Small fix. Allow dots in image name for 3D formats
  • Loading branch information
Kirill Sizov authored Sep 2, 2021
2 parents 25f0840 + 2dce8b2 commit bc2dc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/dataset_manager/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ def _make_image(i, **kwargs):
attributes["labels"].append({"label_id": idx, "name": label["name"], "color": label["color"]})
attributes["track_id"] = -1

dm_item = datumaro.DatasetItem(id=osp.split(frame_data.name)[-1].split('.')[0],
dm_item = datumaro.DatasetItem(id=osp.splitext(osp.split(frame_data.name)[-1])[0],
annotations=dm_anno, point_cloud=dm_image[0], related_images=dm_image[1],
attributes=attributes)

Expand Down

0 comments on commit bc2dc77

Please sign in to comment.