Skip to content

Releases: Labelbox/labelbox-python

v.3.39.0

01 Mar 02:37
252859d
Compare
Choose a tag to compare

Version 3.39.0 (2023-02-28)

Added

  • New method Project.task_queues() to obtain the task queues for a project.
  • New method Project.move_data_rows_to_task_queue() for moving data rows to a specified task queue.
  • Added more descriptive error messages for metadata operations
  • Added Task.errors_url for async tasks that return errors as separate file (e.g. export_v2)
  • Upsert data rows to model runs using global keys

Changed

  • Updated ProjectExportParams.labels to ProjectExportParams.label_details
  • Removed media_attributes from DataRowParams
  • Added deprecation warnings for LabelList and removed its usage
  • Removed unused arguments in Project.export_v2 and ModelRun.export_v2
  • In Project.label_generator(), we now filter skipped labels for project with videos

Notebooks

  • Fixed examples/label_export/images.ipynb notebook metadata
  • Removed unused lb_serializer imports
  • Removed uuid generation in NDJson annotation payloads, as it is now optional
  • Removed custom embeddings usage in examples/basics/data_row_metadata.ipynb
  • New notebook examples/basics/custom_embeddings.ipynb for custom embeddings
  • Updated examples/annotation_import/text.ipynb to use TextData and specify Text media type

v.3.38.0

16 Feb 00:02
5c3fe80
Compare
Choose a tag to compare

Added

  • All imports are available via import labelbox as lb and import labelbox.types as lb_types.
  • Attachment_name support to create_attachment()

Changed

  • LabelImport.create_from_objects(), MALPredictionImport.create_from_objects(), MEAPredictionImport.create_from_objects(), Project.upload_annotations(), ModelRun.add_predictions() now support Python Types for annotations.

Notebooks

  • Removed NDJsonConverter from example notebooks
  • Simplified imports in all notebooks
  • Fixed nested classification in examples/annotation_import/image.ipynb
  • Ontology (instructions --> name)

v.3.37.0

09 Feb 00:47
c528223
Compare
Choose a tag to compare

Version 3.37.0 (2023-02-08)

Added

  • New last_activity_start param to project.export_labels() for filtering which labels are exported. See docstring for more on how this works.

Changed

  • Rename Classification.instructions to Classification.name

Fixed

  • Retry connection timeouts

v.3.36.1

24 Jan 14:45
efed439
Compare
Choose a tag to compare

Version 3.36.1 (2023-01-24)

Fixed

  • confidence is now optional for TextEntity

v.3.36.0

23 Jan 18:50
1cca200
Compare
Choose a tag to compare

Version 3.36.0 (2023-01-23)

Fixed

  • confidence attribute is now supported for TextEntity and Line predictions

v.3.35.0

19 Jan 01:04
6b0f7fd
Compare
Choose a tag to compare

Version 3.35.0 (2023-01-18)

Fixed

  • Retry 520 errors when uploading files

v.3.34.0

23 Dec 17:02
3a78bdc
Compare
Choose a tag to compare

Version 3.34.0 (2022-12-23)

Added

  • Added get_by_name() method to MetadataOntology object to access both custom and reserved metadata by name.
  • Added support for adding metadata by name when creating datarows using DataRowMetadataOntology.bulk_upsert().
  • Added support for adding metadata by name when creating datarows using Dataset.create_data_rows(), Dataset.create_data_rows_sync(), and Dataset.create_data_row().
  • Example notebooks for auto metrics in models

Changed

  • Dataset.create_data_rows() max limit of DataRows increased to 150,000
  • Improved error handling for invalid annotation import content
  • String metadata can now be 1024 characters long (from 500)

Fixed

  • Broken urls in detectron notebook

v.3.33.1

14 Dec 18:48
bf841f8
Compare
Choose a tag to compare

Version 3.33.1 (2022-12-14)

Fixed

  • Fixed where batch creation limit was still limiting # of data rows. SDK should now support creating batches with up to 100k data rows

v.3.33.0

13 Dec 20:57
ef3b26c
Compare
Choose a tag to compare

Version 3.33.0 (2022-12-13)

Added

  • Added SDK support for creating batches with up to 100k data rows
  • Added optional media_type to client.create_ontology_from_feature_schemas() and client.create_ontology()

Changed

  • String representation of DbObject subclasses are now formatted

v.3.32.0

03 Dec 00:30
a40a23a
Compare
Choose a tag to compare

Version 3.32.0 (2022-12-02)

Added

  • Added HTML Enum to MediaType. HTML is introduced as a new asset type in Labelbox.
  • Added PaginatedCollection.get_one() and PaginatedCollection.get_many() to provide easy functions to fetch single and bulk instances of data for any function returning a PaginatedCollection. E.g. data_rows = dataset.data_rows().get_many(10)
  • Added a validator under ScalarMetric to validate metric names against reserved metric names

Changed

  • In iou.miou_metric() and iou.feature_miou_metric, iou metric renamed as custom_iou