├── AT_AWP_RWP ├── preactresnet.py ├── train_cifar10.py ├── train_cifar100.py ├── train_svhn.py ├── utils.py ├── utils_awp.py ├── utils_rwp.py └── wideresnet.py ├── README.md ├── RST_AWP_RWP ├── attack_cw.py ├── attack_evaluation.py ├── attack_pgd.py ├── autoaugment.py ├── cutout.py ├── dataloader.py ├── datasets.py ├── losses.py ├── models │ ├── __init__.py │ ├── cifar_resnet.py │ ├── shake_shake.py │ ├── shake_shake_function.py │ └── wideresnet.py ├── robust_self_training.py ├── smoothing.py ├── utils.py ├── utils_awp.py └── utils_rwp.py ├── Robustness Evaluation ├── eval_aa.py ├── eval_pgd.py ├── preactresnet.py └── wideresnet.py └── trades_AWP_RWP ├── models ├── __init__.py ├── resnet.py └── wideresnet.py ├── train_trades_cifar.py ├── utils ├── __init__.py ├── eval.py ├── logger.py └── misc.py ├── utils_awp.py └── utils_rwp.py /AT_AWP_RWP/preactresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/preactresnet.py -------------------------------------------------------------------------------- /AT_AWP_RWP/train_cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/train_cifar10.py -------------------------------------------------------------------------------- /AT_AWP_RWP/train_cifar100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/train_cifar100.py -------------------------------------------------------------------------------- /AT_AWP_RWP/train_svhn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/train_svhn.py -------------------------------------------------------------------------------- /AT_AWP_RWP/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/utils.py -------------------------------------------------------------------------------- /AT_AWP_RWP/utils_awp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/utils_awp.py -------------------------------------------------------------------------------- /AT_AWP_RWP/utils_rwp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/utils_rwp.py -------------------------------------------------------------------------------- /AT_AWP_RWP/wideresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/AT_AWP_RWP/wideresnet.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/README.md -------------------------------------------------------------------------------- /RST_AWP_RWP/attack_cw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/attack_cw.py -------------------------------------------------------------------------------- /RST_AWP_RWP/attack_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/attack_evaluation.py -------------------------------------------------------------------------------- /RST_AWP_RWP/attack_pgd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/attack_pgd.py -------------------------------------------------------------------------------- /RST_AWP_RWP/autoaugment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/autoaugment.py -------------------------------------------------------------------------------- /RST_AWP_RWP/cutout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/cutout.py -------------------------------------------------------------------------------- /RST_AWP_RWP/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/dataloader.py -------------------------------------------------------------------------------- /RST_AWP_RWP/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/datasets.py -------------------------------------------------------------------------------- /RST_AWP_RWP/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/losses.py -------------------------------------------------------------------------------- /RST_AWP_RWP/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/models/__init__.py -------------------------------------------------------------------------------- /RST_AWP_RWP/models/cifar_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/models/cifar_resnet.py -------------------------------------------------------------------------------- /RST_AWP_RWP/models/shake_shake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/models/shake_shake.py -------------------------------------------------------------------------------- /RST_AWP_RWP/models/shake_shake_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/models/shake_shake_function.py -------------------------------------------------------------------------------- /RST_AWP_RWP/models/wideresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/models/wideresnet.py -------------------------------------------------------------------------------- /RST_AWP_RWP/robust_self_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/robust_self_training.py -------------------------------------------------------------------------------- /RST_AWP_RWP/smoothing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/smoothing.py -------------------------------------------------------------------------------- /RST_AWP_RWP/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/utils.py -------------------------------------------------------------------------------- /RST_AWP_RWP/utils_awp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/utils_awp.py -------------------------------------------------------------------------------- /RST_AWP_RWP/utils_rwp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/RST_AWP_RWP/utils_rwp.py -------------------------------------------------------------------------------- /Robustness Evaluation/eval_aa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/Robustness Evaluation/eval_aa.py -------------------------------------------------------------------------------- /Robustness Evaluation/eval_pgd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/Robustness Evaluation/eval_pgd.py -------------------------------------------------------------------------------- /Robustness Evaluation/preactresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/Robustness Evaluation/preactresnet.py -------------------------------------------------------------------------------- /Robustness Evaluation/wideresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/Robustness Evaluation/wideresnet.py -------------------------------------------------------------------------------- /trades_AWP_RWP/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/models/__init__.py -------------------------------------------------------------------------------- /trades_AWP_RWP/models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/models/resnet.py -------------------------------------------------------------------------------- /trades_AWP_RWP/models/wideresnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/models/wideresnet.py -------------------------------------------------------------------------------- /trades_AWP_RWP/train_trades_cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/train_trades_cifar.py -------------------------------------------------------------------------------- /trades_AWP_RWP/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/utils/__init__.py -------------------------------------------------------------------------------- /trades_AWP_RWP/utils/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/utils/eval.py -------------------------------------------------------------------------------- /trades_AWP_RWP/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/utils/logger.py -------------------------------------------------------------------------------- /trades_AWP_RWP/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/utils/misc.py -------------------------------------------------------------------------------- /trades_AWP_RWP/utils_awp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/utils_awp.py -------------------------------------------------------------------------------- /trades_AWP_RWP/utils_rwp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChaojianYu/Robust-Weight-Perturbation/HEAD/trades_AWP_RWP/utils_rwp.py --------------------------------------------------------------------------------