Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion libs/labelbox/src/labelbox/schema/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down