pytorch resize and pad image
Does torch have the same functionality as tf.image.resize_with_pad
?
I need to resize a picture and pad it with zeros to a wanted size.
E.g: image.shape = [147, 228, 3] - [224, 224, 3]
Topic pytorch tensorflow python machine-learning
Category Data Science