Merge pull request #3633 from openvinotoolkit/sk/allow-dots-in-3d-formats

Small fix. Allow dots in image name for 3D formats
main
Kirill Sizov 5 years ago committed by GitHub
commit bc2dc7774c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -908,7 +908,7 @@ class CvatTaskDataExtractor(datumaro.SourceExtractor, CVATDataExtractorMixin):
attributes["labels"].append({"label_id": idx, "name": label["name"], "color": label["color"]}) attributes["labels"].append({"label_id": idx, "name": label["name"], "color": label["color"]})
attributes["track_id"] = -1 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], annotations=dm_anno, point_cloud=dm_image[0], related_images=dm_image[1],
attributes=attributes) attributes=attributes)

Loading…
Cancel
Save