Views
No views yet
ResNet50_Weights.IMAGENET1K_V1. It matches the model definition used by
RobustBench's ImageNet-C Standard_R50 entry:
torchvision.models.resnet50(pretrained=True) with ImageNet mean/std
normalization applied outside the backbone.Standard_R50 for ImageNet corruptionsResNet50_Weights.IMAGENET1K_V1resnet50[0.485, 0.456, 0.406] and std [0.229, 0.224, 0.225].1from huggingface_hub import hf_hub_download
2from safetensors.torch import load_file
3from torchvision.models import resnet50
4
5path = hf_hub_download("WNJXYK/TTA-ImageNet-ResNet50", "model.safetensors", revision="v1.0")
6model = resnet50(weights=None, num_classes=1000)
7model.load_state_dict(load_file(path))1# configs/source_models/resnet50_imagenet.yaml
2framework: torchvision_hf
3arch: resnet50
4hf_repo: WNJXYK/TTA-ImageNet-ResNet50
5revision: v1.01@inproceedings{he2016deep,
2 title={Deep Residual Learning for Image Recognition},
3 author={He, Kaiming and Zhang, Xiangyu and Ren, Shaoqing and Sun, Jian},
4 booktitle={CVPR}, year={2016}
5}
6
7@inproceedings{hendrycks2019benchmarking,
8 title={Benchmarking Neural Network Robustness to Common Corruptions and Perturbations},
9 author={Hendrycks, Dan and Dietterich, Thomas},
10 booktitle={ICLR}, year={2019}
11}
12
13@inproceedings{croce2021robustbench,
14 title={RobustBench: a standardized adversarial robustness benchmark},
15 author={Croce, Francesco and Andriushchenko, Maksym and Sehwag, Vikash
16 and Debenedetti, Edoardo and Flammarion, Nicolas and Chiang, Mung
17 and Mittal, Prateek and Hein, Matthias},
18 booktitle={NeurIPS Datasets and Benchmarks Track}, year={2021}
19}