From e0be91f7abd3f5ef1b4fd0b2a2b3cdf3152b46b4 Mon Sep 17 00:00:00 2001 From: Yamini Kancharana Date: Tue, 13 Jun 2023 13:47:00 -0700 Subject: [PATCH 1/3] SDK 3.48.0 release prep --- CHANGELOG.md | 15 +++++++++++++++ docs/source/conf.py | 2 +- labelbox/__init__.py | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e83f39cb2..4eb13a46a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,19 @@ # Changelog +# Version 3.48.0 (2023-06-13) +## Added +* Support for ISO format to exports V2 date filters +* Support to specify confidence for all free-text annotations + +## Changed +* Removed backports library and replaced it with python dateutil package to parse iso strings + +## Notebooks +* Added predictions to model run example +* Added notebook to run yolov8 and sam on video and upload to LB +* Updated google colab notebooks to reflect raster segmentation tool being released on 6/13 +* Updated radio NDJSON annotations format to support confidence +* Added confidence to all free-text annotations (ndjson) +* Fixed issues with cv2 library rooting from the Geospatial notebook used a png map with a signed URL with an expired token # Version 3.47.1 (2023-05-24) ## Fixed diff --git a/docs/source/conf.py b/docs/source/conf.py index e337525f9..ef2e1d9d3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,7 +21,7 @@ copyright = '2021, Labelbox' author = 'Labelbox' -release = '3.47.1' +release = '3.48.0' # -- General configuration --------------------------------------------------- diff --git a/labelbox/__init__.py b/labelbox/__init__.py index 98f6a0dae..1f3dccce2 100644 --- a/labelbox/__init__.py +++ b/labelbox/__init__.py @@ -1,5 +1,5 @@ name = "labelbox" -__version__ = "3.47.1" +__version__ = "3.48.0" from labelbox.client import Client from labelbox.schema.project import Project From 3b616b2ce1c6b078b3b26810ffb1603e2af11309 Mon Sep 17 00:00:00 2001 From: Yamini Kancharana Date: Tue, 13 Jun 2023 16:28:54 -0700 Subject: [PATCH 2/3] update precommit config --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95c96c0ce..0f2a7beb6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/google/yapf - rev: v0.33.0 + rev: v0.44.0 hooks: - id: yapf name: "yapf" From 3268d00ecbeac9c16129d18ab0334e2577f72139 Mon Sep 17 00:00:00 2001 From: Yamini Kancharana Date: Tue, 13 Jun 2023 16:35:22 -0700 Subject: [PATCH 3/3] fix yapf test --- .../metrics/iou/data_row/test_data_row_iou.py | 46 ++++++++++--------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/tests/data/metrics/iou/data_row/test_data_row_iou.py b/tests/data/metrics/iou/data_row/test_data_row_iou.py index 14ab06fc6..e4f161e3e 100644 --- a/tests/data/metrics/iou/data_row/test_data_row_iou.py +++ b/tests/data/metrics/iou/data_row/test_data_row_iou.py @@ -91,25 +91,27 @@ def test_unmatched(pair): check_iou(pair) -@parametrize("pair", - strings_to_fixtures([ - "empty_radio_label", - "matching_radio", - "empty_radio_prediction", - ])) +@parametrize( + "pair", + strings_to_fixtures([ + "empty_radio_label", + "matching_radio", + "empty_radio_prediction", + ])) def test_radio(pair): check_iou(pair) -@parametrize("pair", - strings_to_fixtures([ - "matching_checklist", - "partially_matching_checklist_1", - "partially_matching_checklist_2", - "partially_matching_checklist_3", - "empty_checklist_label", - "empty_checklist_prediction", - ])) +@parametrize( + "pair", + strings_to_fixtures([ + "matching_checklist", + "partially_matching_checklist_1", + "partially_matching_checklist_2", + "partially_matching_checklist_3", + "empty_checklist_label", + "empty_checklist_prediction", + ])) def test_checklist(pair): check_iou_checklist(pair) @@ -120,9 +122,10 @@ def test_text(pair): check_iou(pair) -@parametrize("pair", - strings_to_fixtures( - ["test_box_with_wrong_subclass", "test_box_with_subclass"])) +@parametrize( + "pair", + strings_to_fixtures( + ["test_box_with_wrong_subclass", "test_box_with_subclass"])) def test_vector_with_subclass(pair): check_iou(pair) @@ -132,8 +135,9 @@ def test_others(pair): check_iou(pair) -@parametrize("pair", - strings_to_fixtures( - ["matching_ner", "no_matching_ner", "partial_matching_ner"])) +@parametrize( + "pair", + strings_to_fixtures( + ["matching_ner", "no_matching_ner", "partial_matching_ner"])) def test_ner(pair): check_iou(pair)