This warning points to this PR 88, which seems to have introduced the InterpolationMode argument, since torchvision.transforms are supporting PIL.Images as well as tensors now (at least the majority, if I’m not mistaken).
CC @vfdev-5 to correct me.