RandomCrop : to crop from image randomly. This is data augmentation. ToTensor : to convert the numpy images to torch images (we need to swap axes).
確定! 回上一頁