This is the official PyTorch repository for the implementation of ERAT.
Python3
PyTorch (> 1.0)
- Download datasets
python downloaddata.py
- Generate perturbed training data The code for generating perturbed data can be accessible in Delusive-Adversary, DeepConfuse, Unlearnable-Examples.
python Dual_main.py
If you find this code helpful for your research, please consider citing our paper:
@article{zhang2024effective,
title={Effective and Robust Adversarial Training Against Data and Label Corruptions},
author={Zhang, Peng-Fei and Huang, Zi and Xu, Xin-Shun and Bai, Guangdong},
journal={IEEE Transactions on Multimedia},
year={2024},
publisher={IEEE}
}
Some of our code and datasets are based on DivideMix.