RobustBench / robustbench

RobustBench: a standardized adversarial robustness benchmark [NeurIPS 2021 Benchmarks and Datasets Track]
https://robustbench.github.io
Other
669 stars 99 forks source link

Fix for #105 #106

Closed dedeswim closed 2 years ago

dedeswim commented 2 years ago

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.