Releases: Labelbox/labelbox-python
Releases · Labelbox/labelbox-python
v.3.39.0
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_urlfor async tasks that return errors as separate file (e.g.export_v2) - Upsert data rows to model runs using global keys
Changed
- Updated
ProjectExportParams.labelstoProjectExportParams.label_details - Removed
media_attributesfromDataRowParams - Added deprecation warnings for
LabelListand removed its usage - Removed unused arguments in
Project.export_v2andModelRun.export_v2 - In
Project.label_generator(), we now filter skipped labels for project with videos
Notebooks
- Fixed
examples/label_export/images.ipynbnotebook metadata - Removed unused
lb_serializerimports - 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.ipynbfor custom embeddings - Updated
examples/annotation_import/text.ipynbto useTextDataand specify Text media type
v.3.38.0
Added
- All imports are available via
import labelbox as lbandimport 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
Version 3.37.0 (2023-02-08)
Added
- New
last_activity_startparam toproject.export_labels()for filtering which labels are exported. See docstring for more on how this works.
Changed
- Rename
Classification.instructionstoClassification.name
Fixed
- Retry connection timeouts
v.3.36.1
Version 3.36.1 (2023-01-24)
Fixed
confidenceis now optional for TextEntity
v.3.36.0
Version 3.36.0 (2023-01-23)
Fixed
confidenceattribute is now supported for TextEntity and Line predictions
v.3.35.0
Version 3.35.0 (2023-01-18)
Fixed
- Retry 520 errors when uploading files
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
DbObjectsubclasses are now formatted
v.3.32.0
Version 3.32.0 (2022-12-02)
Added
- Added
HTMLEnum toMediaType.HTMLis 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
ScalarMetricto validate metric names against reserved metric names
Changed
- In
iou.miou_metric()andiou.feature_miou_metric, iou metric renamed ascustom_iou