Releases: Labelbox/labelbox-python
Releases · Labelbox/labelbox-python
V3.0.0-rc1
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
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()
orproject.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
- Determine the number of data rows just by calling
- Ontology
OntologyBuilder
,Classification
,Option
, andTool
can now be imported fromlabelbox
instead oflabelbox.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()
usedata_row.attachments()
insteaddata_row.create_metadata()
usedata_row.create_attachments()
insteadAssetMetadata
useAssetAttachment
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) usepip install "labelbox[data]==3.0.0rc0"
V2.7.0
Version 2.7.0 (2021-06-27)
Added
- Added
dataset.export_data_rows()
which returns allDataRows
for aDataset
.
V2.6.0
Version 2.6.0 (2021-06-11)
Fix
- Upated
create_mask_ndjson
helper function inimage_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
replacesAssetMetadata
( see definition for updated attribute names )- Use
DataRow.attachments()
instead ofDataRow.metadata()
- Use
DataRow.create_attachment()
instead ofDataRow.create_metadata()
- Updated pydantic version
V2.5.6
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
Version 2.5.5 (2021-05-17)
Added
DataRow
now has amedia_attributes
fieldDataRow
s can now be looked up fromLabelingParameterOverride
sProject.export_queued_data_rows
to export all data rows in a queue for a project at once
V2.5.4
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
- Bulk export issues and comments. See
- 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
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
- See
V2.5.2
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
Version 2.5.1 (2021-03-15)
Fix
Dataset.data_row_for_external_id
no longer throwsResourceNotFoundError
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