RandomCrop
RandomCrop class
dlf.preprocessing.crop.RandomCrop(width, height, scale=1.5)
Data augmentation method that randomly crops an RGB image
Aliases
- crop
- Crop
- RandomCrop
- random_crop
Arguments
- width: int. Width of the cropped image
- height: int. Height of the cropped image
YAML Configuration
preprocess_list:
crop:
width: 512
height: 512