Skip to content

huzhaozhe00/Median-ensemble-AT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Median-ensemble Adversarial Training (MEAT)

This repository contains the code of "Self-Ensemble Adversarial Training for Improved Robustness" published at ICASSP 2024.

Requirements

The development environment is:

  • Python (3.10)
  • Pytorch (1.13)
  • CUDA
  • Torchvision (0.14)
  • Torchattacks (3.3)

Training

To train a ResNet-18 on CIFAR-10 using PGD-10:

python meat.py

To train a WideResNet-34-10 on CIFAR-10 using PGD-10:

python meat.py --arch 'WRN'

About

Median-ensemble Adversarial Training

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages