vessl.Image
Use the vessl.Image
class to log image data. This takes the image data and saves it as a local PNG file in the vessl-media/image
directory with randomly generated names.
Parameter
Description
data
Supported types
- PIL Image
: the Image
module of Pillow
- torch.Tensor
: a PyTorch tensor
- numpy.ndarray
: a NumPy array
- str
: the image path
caption
Label of the given image
PIL Image
PIL Image
torch.Tensor
torch.Tensor
numpy.ndarray
numpy.ndarray
str
str
Last updated