This PR fixes the fact that normalization and preprocessing were incorrect for timm models. Now, timm models have a separate function that builds preprocessing by taking the default values from the model itself to make sure it uses the correct interpolation mode, and resize/crop sizes.
This PR fixes the fact that normalization and preprocessing were incorrect for
timm
models. Now,timm
models have a separate function that builds preprocessing by taking the default values from the model itself to make sure it uses the correct interpolation mode, and resize/crop sizes.