Skip to content

SDK 3.48.0 release prep #1134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/google/yapf
rev: v0.33.0
rev: v0.44.0
hooks:
- id: yapf
name: "yapf"
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
copyright = '2021, Labelbox'
author = 'Labelbox'

release = '3.47.1'
release = '3.48.0'

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion labelbox/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
46 changes: 25 additions & 21 deletions tests/data/metrics/iou/data_row/test_data_row_iou.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand All @@ -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)