unitlab 2.0.3__tar.gz → 2.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unitlab
3
- Version: 2.0.3
3
+ Version: 2.0.4
4
4
  Home-page: https://github.com/teamunitlab/unitlab-sdk
5
5
  Author: Unitlab Inc.
6
6
  Author-email: team@unitlab.ai
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
2
2
 
3
3
  setup(
4
4
  name="unitlab",
5
- version="2.0.3",
5
+ version="2.0.4",
6
6
  license="MIT",
7
7
  author="Unitlab Inc.",
8
8
  author_email="team@unitlab.ai",
@@ -278,7 +278,7 @@ class DatasetUploadHandler(COCO):
278
278
  if len(anns) == 0:
279
279
  logger.warning("No annotations found for image: {}".format(img_id))
280
280
  return
281
- return getattr(self, f"get_{self.annotation_type}_payload")(anns)
281
+ return self.get_img_bbox_payload(anns)
282
282
 
283
283
  async def upload_image(self, session, dataset_id, image_id):
284
284
  image = self.loadImgs(image_id)[0]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unitlab
3
- Version: 2.0.3
3
+ Version: 2.0.4
4
4
  Home-page: https://github.com/teamunitlab/unitlab-sdk
5
5
  Author: Unitlab Inc.
6
6
  Author-email: team@unitlab.ai
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes