The torchvision transformations usually work with PIL.Images or Tensors.
You could transform your numpy arrays to Tensors using a Dataset and then apply the transformations.
If you don’t want to use a Dataset, you could normalize the images using pure numpy.