diff --git a/torchvision/transforms/transforms.py b/torchvision/transforms/transforms.py index e33b3e28194..49ceebea7f2 100644 --- a/torchvision/transforms/transforms.py +++ b/torchvision/transforms/transforms.py @@ -1624,7 +1624,6 @@ def __repr__(self) -> str: class RandomErasing(torch.nn.Module): """Randomly selects a rectangle region in a torch.Tensor image and erases its pixels. - This transform does not support PIL Image. 'Random Erasing Data Augmentation' by Zhong et al. See https://arxiv.org/abs/1708.04896 Args: