Image
less than a minute
A class for logging images to W&B.
Attributes |
---|
Methods
all_boxes
@classmethod
all_boxes(
images: Sequence['Image'],
run: "LocalRun",
run_key: str,
step: Union[int, str]
) -> Union[List[Optional[dict]], bool]
all_captions
@classmethod
all_captions(
images: Sequence['Media']
) -> Union[bool, Sequence[Optional[str]]]
all_masks
@classmethod
all_masks(
images: Sequence['Image'],
run: "LocalRun",
run_key: str,
step: Union[int, str]
) -> Union[List[Optional[dict]], bool]
guess_mode
guess_mode(
data: Union['np.ndarray', 'torch.Tensor'],
file_type: Optional[str] = None
) -> str
Guess what type of image the np.array is representing.
Class Variables | |
---|---|
MAX_DIMENSION |
65500 |
MAX_ITEMS |
108 |
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.