Skip to content

Releases: Labelbox/labelbox-python

V3.0.0-rc1

04 Aug 16:32
ea1b9b4
Compare
Choose a tag to compare
V3.0.0-rc1 Pre-release
Pre-release

Version 3.0.0-rc1 (2021-08-04)

Added

  • More flexible drawing features for geometry annotations

Fixes

  • Fixed annotation type conversion bugs that appeared when projects had mixed data types or empty labels.

V3.0.0-rc0

03 Aug 21:37
73e2336
Compare
Choose a tag to compare
V3.0.0-rc0 Pre-release
Pre-release

Version 3.0.0-rc0 (2021-08-03)

Added

  • Annotation types
    • A set of python objects for working with labelbox data
    • Creates a standard interface for both exports and imports
    • See example notebooks on how to use under examples/annotation_types
    • Note that these types are not yet supported for tiled imagery
  • MEA Support
    • Beta MEA users can now just use the latest SDK release
  • Metadata support
    • New metadata features are now fully supported by the SDK
  • Easier export
    • project.export_labels() accepts a boolean indicating whether or not to download the result
    • Create annotation objects directly from exports with project.label_generator() or project.video_label_generator()
    • project.video_label_generator() asynchronously fetches video annotations
  • Retry logic on data uploads
    • Bulk creation of data rows will be more reliable
  • Datasets
    • Determine the number of data rows just by calling dataset.row_count.
    • Updated threading logic in create_data_rows() to make it compatible with aws lambdas
  • Ontology
    • OntologyBuilder, Classification, Option, and Tool can now be imported from labelbox instead of labelbox.schema.ontology

Removed

  • Deprecated:
    • project.reviews()
    • project.create_prediction()
    • project.create_prediction_model()
    • project.create_label()
    • Project.predictions()
    • Project.active_prediction_model
    • data_row.predictions
    • PredictionModel
    • Prediction
  • Replaced:
    • data_row.metadata() use data_row.attachments() instead
    • data_row.create_metadata() use data_row.create_attachments() instead
    • AssetMetadata use AssetAttachment instead

Fixes

  • Support derived classes of ontology objects when using from_dict
  • Notebooks:
    • Video export bug where the code would fail if the exported projects had tools other than bounding boxes
    • MAL demos were broken due to an image download failing.

Installation

  • Data processing dependencies are not installed by default to for users that only want client functionality.
  • To install all dependencies required for the data modules (annotation types and mea metric calculation) use pip install labelbox[data]. For a specific version (such as the rc release) use pip install "labelbox[data]==3.0.0rc0"

V2.7.0

27 Jun 13:56
0a9e8fe
Compare
Choose a tag to compare

Version 2.7.0 (2021-06-27)

Added

  • Added dataset.export_data_rows() which returns all DataRows for a Dataset.

V2.6.0

11 Jun 20:38
dbbe2d8
Compare
Choose a tag to compare

Version 2.6.0 (2021-06-11)

Fix

  • Upated create_mask_ndjson helper function in image_mal.ipynb to use the color arguement
    instead of a hardcoded color.

Added

  • asset_metadata is now deprecated and has been replaced with asset_attachments
    • AssetAttachment replaces AssetMetadata ( see definition for updated attribute names )
    • Use DataRow.attachments() instead of DataRow.metadata()
    • Use DataRow.create_attachment() instead of DataRow.create_metadata()
  • Updated pydantic version

V2.5.6

20 May 15:21
8c0c935
Compare
Choose a tag to compare

Version 2.5.6 (2021-05-20)

Fix

  • MAL validation no longer raises exception when NER tool has same start and end location

V2.5.5

17 May 20:21
e129fab
Compare
Choose a tag to compare

Version 2.5.5 (2021-05-17)

Added

  • DataRow now has a media_attributes field
  • DataRows can now be looked up from LabelingParameterOverrides
  • Project.export_queued_data_rows to export all data rows in a queue for a project at once

V2.5.4

22 Apr 22:47
1d02e9c
Compare
Choose a tag to compare

Version 2.5.4 (2021-04-22)

Added

  • User Management
    • Invite users to an organization
    • Query for remaining invites and users available to an organization
    • Set and update organization roles
    • Set / update / revoke project role
    • Delete users from organization
    • Example notebook added under examples/basics
  • Issues and Comments Export
    • Bulk export issues and comments. See Project.export_issues
  • MAL on Tiled Imagery
    • Example notebook added under examples/model_assisted_labeling
    • Dataset.create_data_rows now allows users to upload tms imagery

V2.5.3

01 Apr 15:15
13bdba8
Compare
Choose a tag to compare

Version 2.5.3 (2021-04-01)

Added

  • Cleanup and add additional example notebooks
  • Improved README for SDK and examples
  • Easier to retrieve per annotation BulkImportRequest status, errors, and inputs
    • See BulkImportRequest.errors, BulkImportRequest.statuses, BulkImportRequest.inputs for more information

V2.5.2

29 Mar 10:46
4bf87e0
Compare
Choose a tag to compare

Version 2.5.2 (2021-03-29)

Fix

  • Ontology builder defaults to None for missing fields instead of empty lists
  • MAL validation added extra fields to subclasses

Added

  • Example notebooks

V2.5.1

15 Mar 18:40
ba5a500
Compare
Choose a tag to compare

Version 2.5.1 (2021-03-15)

Fix

  • Dataset.data_row_for_external_id no longer throws ResourceNotFoundError when there are duplicates
  • Improved doc strings

Added

  • OntologyBuilder for making project setup easier
  • Now supports IMAGE_OVERLAY metadata
  • Webhooks for review topics added
  • Upload project instructions with Project.upsert_instructions
  • User input validation
    • MAL validity is now checked client side for faster feedback
    • type and value checks added in a few places