├── .idea ├── .gitignore ├── SKG-FAT.iml ├── inspectionProfiles │ └── profiles_settings.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── Evaluation ├── Eval_Results_CIFAR10.py ├── Eval_Results_CIFAR100.py ├── Eval_Results_TinyIN.py └── FDA_BP_CWR_IN100.py ├── README.md ├── SKG_FAT.py ├── __pycache__ └── utils.cpython-39.pyc ├── autoattack ├── __init__.py ├── autoattack.py ├── autopgd_pt.py ├── autopgd_tf.py ├── fab_pt.py ├── fab_tf.py ├── other_utils.py ├── square.py ├── utils_tf.py └── utils_tf2.py ├── models ├── CIFAR10 │ ├── DRN.py │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-39.pyc │ │ ├── densenet.cpython-39.pyc │ │ ├── dpn.cpython-39.pyc │ │ ├── efficientnet.cpython-39.pyc │ │ ├── googlenet.cpython-39.pyc │ │ ├── lenet.cpython-39.pyc │ │ ├── mobilenet.cpython-39.pyc │ │ ├── pnasnet.cpython-39.pyc │ │ ├── preact_resnet.cpython-39.pyc │ │ ├── regnet.cpython-39.pyc │ │ ├── resnet.cpython-39.pyc │ │ ├── resnext.cpython-39.pyc │ │ ├── senet.cpython-39.pyc │ │ ├── shufflenet.cpython-39.pyc │ │ ├── vgg.cpython-39.pyc │ │ └── wide_resnet.cpython-39.pyc │ ├── densenet.py │ ├── dpn.py │ ├── efficientnet.py │ ├── googlenet.py │ ├── inceptionv3.py │ ├── lenet.py │ ├── mobilenet.py │ ├── pnasnet.py │ ├── preact_resnet.py │ ├── regnet.py │ ├── resnet.py │ ├── resnext.py │ ├── senet.py │ ├── shufflenet.py │ ├── swin.py │ ├── vgg.py │ └── wide_resnet.py ├── CIFAR100 │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-39.pyc │ │ ├── densenet.cpython-39.pyc │ │ ├── preact_resnet.cpython-39.pyc │ │ ├── regnet.cpython-39.pyc │ │ ├── resnet.cpython-39.pyc │ │ └── vgg.cpython-39.pyc │ ├── convmixer.py │ ├── densenet.py │ ├── inceptionv3.py │ ├── mlpmixer.py │ ├── preact_resnet.py │ ├── randomaug.py │ ├── regnet.py │ ├── resnet.py │ ├── swin.py │ ├── utils.py │ ├── vgg.py │ ├── vit.py │ ├── vit_small.py │ └── vit_utils.py ├── TinyIN │ ├── __init__.py │ ├── convmixer.py │ ├── densenet.py │ ├── inceptionv3.py │ ├── mlpmixer.py │ ├── preact_resnet.py │ ├── randomaug.py │ ├── regnet.py │ ├── resnet.py │ ├── swin.py │ ├── utils.py │ ├── vgg.py │ ├── vit.py │ ├── vit_small.py │ └── vit_utils.py ├── __init__.py └── __pycache__ │ └── __init__.cpython-39.pyc ├── plugin ├── CFA_CCM_AGR.py ├── CFA_CCM_CWR.py ├── CFAattack.py ├── MEP_AGR.py ├── MEP_CWR.py ├── TDAT_AGR.py ├── TDAT_CWR.py └── __init__.py ├── tinyimagenet ├── .gitignore ├── LICENSE ├── README.md ├── imagenet1k.py ├── requirements.txt ├── setup.py ├── test_dataloader.py ├── test_imagenet_idx.py ├── test_load_all_images.py └── tinyimagenet.py └── utils.py /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/SKG-FAT.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/.idea/SKG-FAT.iml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /Evaluation/Eval_Results_CIFAR10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/Evaluation/Eval_Results_CIFAR10.py -------------------------------------------------------------------------------- /Evaluation/Eval_Results_CIFAR100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/Evaluation/Eval_Results_CIFAR100.py -------------------------------------------------------------------------------- /Evaluation/Eval_Results_TinyIN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/Evaluation/Eval_Results_TinyIN.py -------------------------------------------------------------------------------- /Evaluation/FDA_BP_CWR_IN100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/Evaluation/FDA_BP_CWR_IN100.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/README.md -------------------------------------------------------------------------------- /SKG_FAT.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/SKG_FAT.py -------------------------------------------------------------------------------- /__pycache__/utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/__pycache__/utils.cpython-39.pyc -------------------------------------------------------------------------------- /autoattack/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/__init__.py -------------------------------------------------------------------------------- /autoattack/autoattack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/autoattack.py -------------------------------------------------------------------------------- /autoattack/autopgd_pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/autopgd_pt.py -------------------------------------------------------------------------------- /autoattack/autopgd_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/autopgd_tf.py -------------------------------------------------------------------------------- /autoattack/fab_pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/fab_pt.py -------------------------------------------------------------------------------- /autoattack/fab_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/fab_tf.py -------------------------------------------------------------------------------- /autoattack/other_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/other_utils.py -------------------------------------------------------------------------------- /autoattack/square.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/square.py -------------------------------------------------------------------------------- /autoattack/utils_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/utils_tf.py -------------------------------------------------------------------------------- /autoattack/utils_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/autoattack/utils_tf2.py -------------------------------------------------------------------------------- /models/CIFAR10/DRN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/DRN.py -------------------------------------------------------------------------------- /models/CIFAR10/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__init__.py -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/densenet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/densenet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/dpn.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/dpn.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/efficientnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/efficientnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/googlenet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/googlenet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/lenet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/lenet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/mobilenet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/mobilenet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/pnasnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/pnasnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/preact_resnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/preact_resnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/regnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/regnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/resnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/resnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/resnext.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/resnext.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/senet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/senet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/shufflenet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/shufflenet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/vgg.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/vgg.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/__pycache__/wide_resnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/__pycache__/wide_resnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR10/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/densenet.py -------------------------------------------------------------------------------- /models/CIFAR10/dpn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/dpn.py -------------------------------------------------------------------------------- /models/CIFAR10/efficientnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/efficientnet.py -------------------------------------------------------------------------------- /models/CIFAR10/googlenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/googlenet.py -------------------------------------------------------------------------------- /models/CIFAR10/inceptionv3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/inceptionv3.py -------------------------------------------------------------------------------- /models/CIFAR10/lenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/lenet.py -------------------------------------------------------------------------------- /models/CIFAR10/mobilenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/mobilenet.py -------------------------------------------------------------------------------- /models/CIFAR10/pnasnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/pnasnet.py -------------------------------------------------------------------------------- /models/CIFAR10/preact_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/preact_resnet.py -------------------------------------------------------------------------------- /models/CIFAR10/regnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/regnet.py -------------------------------------------------------------------------------- /models/CIFAR10/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/resnet.py -------------------------------------------------------------------------------- /models/CIFAR10/resnext.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/resnext.py -------------------------------------------------------------------------------- /models/CIFAR10/senet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/senet.py -------------------------------------------------------------------------------- /models/CIFAR10/shufflenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/shufflenet.py -------------------------------------------------------------------------------- /models/CIFAR10/swin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/swin.py -------------------------------------------------------------------------------- /models/CIFAR10/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/vgg.py -------------------------------------------------------------------------------- /models/CIFAR10/wide_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR10/wide_resnet.py -------------------------------------------------------------------------------- /models/CIFAR100/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/__init__.py -------------------------------------------------------------------------------- /models/CIFAR100/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR100/__pycache__/densenet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/__pycache__/densenet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR100/__pycache__/preact_resnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/__pycache__/preact_resnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR100/__pycache__/regnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/__pycache__/regnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR100/__pycache__/resnet.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/__pycache__/resnet.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR100/__pycache__/vgg.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/__pycache__/vgg.cpython-39.pyc -------------------------------------------------------------------------------- /models/CIFAR100/convmixer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/convmixer.py -------------------------------------------------------------------------------- /models/CIFAR100/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/densenet.py -------------------------------------------------------------------------------- /models/CIFAR100/inceptionv3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/inceptionv3.py -------------------------------------------------------------------------------- /models/CIFAR100/mlpmixer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/mlpmixer.py -------------------------------------------------------------------------------- /models/CIFAR100/preact_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/preact_resnet.py -------------------------------------------------------------------------------- /models/CIFAR100/randomaug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/randomaug.py -------------------------------------------------------------------------------- /models/CIFAR100/regnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/regnet.py -------------------------------------------------------------------------------- /models/CIFAR100/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/resnet.py -------------------------------------------------------------------------------- /models/CIFAR100/swin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/swin.py -------------------------------------------------------------------------------- /models/CIFAR100/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/utils.py -------------------------------------------------------------------------------- /models/CIFAR100/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/vgg.py -------------------------------------------------------------------------------- /models/CIFAR100/vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/vit.py -------------------------------------------------------------------------------- /models/CIFAR100/vit_small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/vit_small.py -------------------------------------------------------------------------------- /models/CIFAR100/vit_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/CIFAR100/vit_utils.py -------------------------------------------------------------------------------- /models/TinyIN/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/__init__.py -------------------------------------------------------------------------------- /models/TinyIN/convmixer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/convmixer.py -------------------------------------------------------------------------------- /models/TinyIN/densenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/densenet.py -------------------------------------------------------------------------------- /models/TinyIN/inceptionv3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/inceptionv3.py -------------------------------------------------------------------------------- /models/TinyIN/mlpmixer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/mlpmixer.py -------------------------------------------------------------------------------- /models/TinyIN/preact_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/preact_resnet.py -------------------------------------------------------------------------------- /models/TinyIN/randomaug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/randomaug.py -------------------------------------------------------------------------------- /models/TinyIN/regnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/regnet.py -------------------------------------------------------------------------------- /models/TinyIN/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/resnet.py -------------------------------------------------------------------------------- /models/TinyIN/swin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/swin.py -------------------------------------------------------------------------------- /models/TinyIN/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/utils.py -------------------------------------------------------------------------------- /models/TinyIN/vgg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/vgg.py -------------------------------------------------------------------------------- /models/TinyIN/vit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/vit.py -------------------------------------------------------------------------------- /models/TinyIN/vit_small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/vit_small.py -------------------------------------------------------------------------------- /models/TinyIN/vit_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/TinyIN/vit_utils.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /models/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/models/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /plugin/CFA_CCM_AGR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/plugin/CFA_CCM_AGR.py -------------------------------------------------------------------------------- /plugin/CFA_CCM_CWR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/plugin/CFA_CCM_CWR.py -------------------------------------------------------------------------------- /plugin/CFAattack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/plugin/CFAattack.py -------------------------------------------------------------------------------- /plugin/MEP_AGR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/plugin/MEP_AGR.py -------------------------------------------------------------------------------- /plugin/MEP_CWR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/plugin/MEP_CWR.py -------------------------------------------------------------------------------- /plugin/TDAT_AGR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/plugin/TDAT_AGR.py -------------------------------------------------------------------------------- /plugin/TDAT_CWR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/plugin/TDAT_CWR.py -------------------------------------------------------------------------------- /plugin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tinyimagenet/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/.gitignore -------------------------------------------------------------------------------- /tinyimagenet/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/LICENSE -------------------------------------------------------------------------------- /tinyimagenet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/README.md -------------------------------------------------------------------------------- /tinyimagenet/imagenet1k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/imagenet1k.py -------------------------------------------------------------------------------- /tinyimagenet/requirements.txt: -------------------------------------------------------------------------------- 1 | torchvision 2 | twine 3 | setuptools 4 | wheel 5 | tqdm -------------------------------------------------------------------------------- /tinyimagenet/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/setup.py -------------------------------------------------------------------------------- /tinyimagenet/test_dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/test_dataloader.py -------------------------------------------------------------------------------- /tinyimagenet/test_imagenet_idx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/test_imagenet_idx.py -------------------------------------------------------------------------------- /tinyimagenet/test_load_all_images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/test_load_all_images.py -------------------------------------------------------------------------------- /tinyimagenet/tinyimagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/tinyimagenet/tinyimagenet.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guijiejie/Self-Knowledge-Guidance-Fast-Adversarial-Training/HEAD/utils.py --------------------------------------------------------------------------------