[Solved] Pytroch warning: “Argument interpolation should be of type InterpolationMode instead of int. “

Argument interpolation should be of type InterpolationMode instead of int.

    1. provide

from torchvision.transforms import InterpolationMode

Image.BICUBIC

    1. Replace as

InterpolationMode.BICUBIC

Read More: