dgs.utils.state.State.load_image_crop

State.load_image_crop(store: bool = False, **kwargs) torchvision.tv_tensors.Image | torch.Tensor[source]

Load the images crops using the crop_paths of this object. Does nothing if the crops are already present.

Keyword Arguments:

crop_size – The size of the image crops. Default DEF_VAL.images.crop_size.