Releases: Labelbox/labelbox-python
Releases · Labelbox/labelbox-python
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"
v.3.27.1
Version 3.27.1 (2022-09-16)
Changed
- Removed
client.get_data_rows_for_global_keys
until further notice
v.3.27.0
Version 3.27.0 (2022-09-12)
Added
- Global Keys for data rows
- Assign global keys to a data row with
client.assign_global_keys_to_data_rows
- Get data rows using global keys with
client.get_data_row_ids_for_global_keys
andclient.get_data_rows_for_global_keys
- Assign global keys to a data row with
- Project Creation
- Introduces
Project.queue_mode
as an optional parameter when creating projects
- Introduces
MEAToMALPredictionImport
class- This allows users to use predictions stored in Models for MAL
Task.wait_till_done
now shows a warning if task has failed
Changed
- Increase scalar metric value limit to 100m
- Added deprecation warnings when updating project
queue_mode
Fixed
- Fix bug in
feature_confusion_matrix
andconfusion_matrix
causing FPs and FNs to be capped at 1 when there were no matching annotations
v.3.26.2
Version 3.26.2 (2022-09-06)
Added
- Support for document (pdf) de/serialization from exports
- Use the
LBV1Converter.serialize()
andLBV1Converter.deserialize()
methods
- Use the
- Support for document (pdf) de/serialization for imports
- Use the
NDJsonConverter.serialize()
andNDJsonConverter.deserialize()
methods
- Use the