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()
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"