Currently we first distort an image and then resize it. Image distortion is an expensive op and pointless to do before image resizing. Now we first resize/crop image and then apply the distortion.
Currently we first distort an image and then resize it. Image distortion is an expensive op and pointless to do before image resizing. Now we first resize/crop image and then apply the distortion.

PiperOrigin-RevId: 340264394

google-research/tensor2robot