Releases: Labelbox/labelbox-python
Releases · Labelbox/labelbox-python
v.3.34.0
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()
, andDataset.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
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
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()
andclient.create_ontology()
Changed
- String representation of
DbObject
subclasses are now formatted
v.3.32.0
Version 3.32.0 (2022-12-02)
Added
- Added
HTML
Enum toMediaType
.HTML
is introduced as a new asset type in Labelbox. - Added
PaginatedCollection.get_one()
andPaginatedCollection.get_many()
to provide easy functions to fetch single and bulk instances of data for any function returning aPaginatedCollection
. 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()
andiou.feature_miou_metric
, iou metric renamed ascustom_iou
v.3.31.0
Version 3.31.0 (2022-11-28)
Added
- Added
client.clear_global_keys()
to remove global keys from their associated data rows - Added a new attribute
confidence
toAnnotationObject
andClassificationAnswer
for Model Error Analysis
Fixed
- Fixed
project.create_batch()
to work with both data_row_ids and data_row objects
v.3.30.1
Version 3.30.1 (2022-11-16)
Added
- Added step to
project.create_batch()
to wait for data rows to finish processing
Fixed
- Running
project.setup_editor()
multiple times no longer resets the ontology, and instead raises an error if the editor is already set up for the project
v.3.30.0
Version 3.30.0 (2022-11-11)
Changed
- create_data_rows, create_data_rows_sync, create_data_row, and update data rows all accept the new data row input format for row data
- create_data_row now accepts an attachment parameter to be consistent with create_data_rows
- Conversational text data rows will be uploaded to a json file automatically on the backend to reduce the amount of i/o required in the SDK.
v.3.29.0
Version 3.29.0 (2022-11-02)
Added
- Added new base
Slice
Entity/DbObject andCatalogSlice
class - Added
client.get_catalog_slice(id)
to fetch a CatalogSlice by ID - Added
slice.get_data_row_ids()
to fetch data row ids of the slice - Add deprecation warning for queue_mode == QueueMode.Dataset when creating a new project.
- Add deprecation warning for LPOs.
Changed
- Default behavior for metrics to not include subclasses in the calculation.
Fixed
- Polygon extraction from masks creating invalid polygons. This would cause issues in the coco converter.
v.3.28.0
Version 3.28.0 (2022-10-14)
Added
- Added warning for upcoming change in default project queue_mode setting
- Added notebook example for importing Conversational Text annotations using Model-Assisted Labeling
Changed
- Updated QueueMode enum to support new value for QueueMode.Batch =
BATCH
. - Task.failed_data_rows is now a property
Fixed
- Fixed Task.wait_till_done() showing warning message for every completed task, instead of only warning when task has errors
- Fixed error on dataset creation step in examples/annotation_import/video.ipynb notebook
v.3.27.2
Version 3.27.2 (2022-10-04)
Added
- Added deprecation warning for missing
media_type
increate_project
inClient
.
Changed
- Updated docs for deprecated methods
_update_queue_mode
andget_queue_mode
inProject
- Use the
queue_mode
attribute inProject
to get and set the queue mode instead - For more information, visit https://docs.labelbox.com/reference/migrating-to-workflows#upcoming-changes
- Use the
- Updated
project.export_labels
to support filtering by start/end time formats "YYYY-MM-DD" and "YYYY-MM-DD hh:mm:ss"