diff --git a/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py b/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py index 8702b8aeb..80248699b 100644 --- a/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py +++ b/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py @@ -207,7 +207,7 @@ class MaskData(RasterData): single cell, only one class can be present. All Mask data is converted to a [H,W,3] image. Classes are - >>> # 3x3 mask with two classes and back ground + >>> # 3x3 mask with two classes and background >>> MaskData.from_2D_arr([ >>> [0, 0, 0], >>> [1, 1, 1], diff --git a/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py b/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py index 9d0bbdc5a..e3ba95929 100644 --- a/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py +++ b/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py @@ -19,7 +19,7 @@ def serialize( Converts a labelbox common object to the labelbox ndjson format (prediction import format) Note that this function might fail for objects that are not supported by mal. - Not all edge cases are handling by custom exceptions, if you get a cryptic pydantic error message it is probably due to this. + Not all edge cases are handled by custom exceptions, if you get a cryptic pydantic error message it is probably due to this. We will continue to improve the error messages and add helper functions to deal with this. Args: diff --git a/libs/labelbox/src/labelbox/schema/batch.py b/libs/labelbox/src/labelbox/schema/batch.py index 99e4c4908..5d07a2865 100644 --- a/libs/labelbox/src/labelbox/schema/batch.py +++ b/libs/labelbox/src/labelbox/schema/batch.py @@ -88,7 +88,7 @@ def remove_queued_data_rows(self) -> None: def delete(self) -> None: """Deletes the given batch. - Note: Batch deletion for batches that has labels is forbidden. + Note: Batch deletion for batches that have labels is forbidden. Args: batch (Batch): Batch to remove queued data rows from