diff --git a/datumaro/datumaro/plugins/coco_format/converter.py b/datumaro/datumaro/plugins/coco_format/converter.py index 4af56b75ff67..7b91aef4f5d5 100644 --- a/datumaro/datumaro/plugins/coco_format/converter.py +++ b/datumaro/datumaro/plugins/coco_format/converter.py @@ -547,7 +547,7 @@ def _save_image(self, item): filename += CocoPath.IMAGE_EXT path = osp.join(self._images_dir, filename) save_image(path, image) - return path + return filename def convert(self): self._make_dirs()