with not use toTensor() in your transform?
example here:
https://pytorch.org/docs/master/torchvision/transforms.html#torchvision.transforms.Compose 2.8k
you can then reconvert your tensors to numpy using .numpy()
example:
https://pytorch.org/tutorials/beginner/former_torchies/tensor_tutorial.html#numpy-bridge 1.1k