⚙️ [Models] Test-Time Adaptation
Collection
3 items • Updated
Mirror of the WideResNet-40-2 CIFAR-100 source model trained with
AugMix (Hendrycks et al., ICLR 2020),
as indexed by RobustBench
under the Hendrycks2020AugMix_WRN entry (CIFAR-100 corruptions threat
model). This is the CIFAR-100 AugMix source checkpoint used by common
TTA baselines — CoTTA, EATA, SAR, and friends — for CIFAR-100-C evaluation.
Hendrycks2020AugMix_WRN, cifar100, corruptions)(x - 0.5)/0.5 normalization)[0, 1] (normalization is baked into the model's
mu/sigma buffers — do not pre-normalize with CIFAR mean/std).from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
path = hf_hub_download("WNJXYK/TTA-CIFAR-100-AugMix-WRN40", "model.safetensors", revision="v1.0")
state_dict = load_file(path)
# Plug into the matching WRN-40-2 arch (see `arch` above) and
# `load_state_dict(state_dict)`. The `mu`/`sigma` buffers at the head of the
# state_dict must be present in your arch.
Inside the TTA-Evaluation-Harness, the wiring is done via:
# configs/source_models/augmix_wrn40_cifar100.yaml
framework: torchvision_hf
arch: wrn_40_2_augmix
hf_repo: WNJXYK/TTA-CIFAR-100-AugMix-WRN40
revision: v1.0
@inproceedings{hendrycks2020augmix,
title={AugMix: A Simple Data Processing Method to Improve Robustness and Uncertainty},
author={Hendrycks, Dan and Mu, Norman and Cubuk, Ekin D. and Zoph, Barret
and Gilmer, Justin and Lakshminarayanan, Balaji},
booktitle={ICLR}, year={2020}
}
@inproceedings{croce2021robustbench,
title={RobustBench: a standardized adversarial robustness benchmark},
author={Croce, Francesco and Andriushchenko, Maksym and Sehwag, Vikash
and Debenedetti, Edoardo and Flammarion, Nicolas and Chiang, Mung
and Mittal, Prateek and Hein, Matthias},
booktitle={NeurIPS Datasets and Benchmarks Track}, year={2021}
}