I was going through the various interpolation methods in the documentation and noticed that most of the time the default interpolation method is given as InterpolationMode.BILINEAR or InterpolationMode.NEAREST while isn’t BICUBIC considered to be better and hence it should made the default.
Is there any reason to consider the other 2 interpolation methods for Imagenet , I work with medical images and have found BICUBIC better , there are some research also supporting the work (Effect of the Pixel Interpolation Method for Downsampling Medical Images on Deep Learning Accuracy)
Bicubic interpolation algorithm can get relatively clear picture quality, but it needs larger amount of calculation. This algorithm now is most commonly used in many image processing software such as Photoshop, After Effects, Avid and Final Cut Pro etc. More info can be viewed here
Is there any reason the torchvision community decided to use NEAREST and BILINEAR as default over BICUBIC , one reason I could think of would be to compromise image quality over speed.
Anyway currently if we want to change the interpolation method we just have to set the
interpolation=InterpolationMode.BICUBIC
while running the transforms.Rotation or functional.affine so not much of a hasle.