ares
A Python library for adversarial machine learning focusing on benchmarking adversarial robustness.
File Explorer
Download Latest Version (.zip)- __init__.py
- autoattack.py
- autopgd_base.py
- checks.py
- fab_base.py
- fab_projections.py
- fab_pt.py
- square.py
- utils.py
- __init__.py
- coco_dataset.py
- coco_metric.py
- detector.py
- lr_scheduler.py
- __init__.py
- patch_applier.py
- patch_transform.py
- __init__.py
- attacker.py
- trainer.py
- utils.py
- __init__.py
- bim.py
- boundary.py
- cda.py
- cw.py
- deepfool.py
- di_fgsm.py
- evolutionary.py
- fgsm.py
- mim.py
- nattack.py
- nes.py
- pgd.py
- sgm.py
- si_ni_fgsm.py
- spsa.py
- tim.py
- tta.py
- vmi_fgsm.py
- __init__.py
- cifar_dataset.py
- imagenet_dataset.py
- __init__.py
- bit_depth_reduction.py
- jpeg_compression.py
- randomization.py
- __init__.py
- t2t_vit.py
- token_performer.py
- token_transformer.py
- transformer_block.py
- __init__.py
- cifar10_cls.py
- cifar_model_zoo.py
- imagenet_cls.py
- imagenet_model_zoo.py
- preact_resnet.py
- resnet.py
- resnet_denoise.py
- vit_mae.py
- wideresnet.py
- xcit_extra.py
- adv.py
- dataset.py
- dist.py
- logger.py
- loss.py
- metrics.py
- model.py
- registry.py
- __init__.py
- attack_configs.py
- README.md
- run_attack.py
- run_attack.sh
- base.py
- base.py
- global_demo.py
- patch_demo.py
- adv.jpg
- clean.jpg
- gt.jpg
- README.md
- run.py
- run.sh
- run_dist.sh
- convnext_base.yaml
- convnext_large.yaml
- convnext_small.yaml
- resnet101.yaml
- resnet152.yaml
- resnet50.yaml
- swin_base_patch4_window7_224.yaml
- swin_large_patch4_window7_224.yaml
- swin_small_patch4_window7_224.yaml
- vit_base_patch16_224.yaml
- vit_small_patch16_224.yaml
- adversarial_training.py
- README.md
- run_train.sh
- .gitignore
- LICENSE
- README.md
- requirements.txt
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/thu-ml/ares
Downloads the entire project code from GitHub to your computer.
cd ares
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
