diff --git a/lightly/transforms/torchvision_transforms.py b/lightly/transforms/torchvision_transforms.py index e225d1d37..061061e22 100644 --- a/lightly/transforms/torchvision_transforms.py +++ b/lightly/transforms/torchvision_transforms.py @@ -10,7 +10,6 @@ import torch from PIL.Image import Image from torch import Tensor -from torchvision.transforms import ToTensor as ToTensorV1 try: from torchvision.transforms import v2 as torchvision_transforms