Open vgangal101 opened 2 years ago
https://github.com/pytorch/vision/blob/main/torchvision/transforms/functional_tensor.py
Use a combination of tf.keras. load_img , and https://keras.io/api/preprocessing/image/
Use PIL resize method
Check out cv2.resize method https://www.tutorialkart.com/opencv/python/opencv-python-resize-image/
https://github.com/pytorch/vision/blob/main/torchvision/transforms/functional_tensor.py