Apache License 2.0

项目介绍

thu-ml/ares 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Apache License 2.0 许可证,目前获得 529 个 Star、94 次 Fork。

仓库全名
thu-ml/ares
开源许可证
Apache License 2.0
Star 数
529
Fork 数
94
未关闭 Issue
14

README 摘要

🚀 Welcome to ARES 2.0 🚀 🌐 Overview 🔍 ARES 2.0 (Adversarial Robustness Evaluation for Safety) is a Python library dedicated to adversarial machine learning research. It aims at benchmarking the adversarial robustness of image classification and object detection models, and introduces mechanisms to defend against adversarial attacks through robust training. 🌟 Features Developed on Pytorch. Supports various…

完整内容见 GitHub 原始 README 或本页 。

常见问题

ares 用什么语言开发?

主要使用 Python 编写,采用 Apache License 2.0 许可证,目前有 529 个 Star。

ares 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 ares 的源码?

可以直接克隆仓库:git clone https://github.com/thu-ml/ares.git,默认分支为 main;安装与运行步骤见仓库 README。

ares 最近还在维护吗?

仓库最近一次更新为 2023年10月15日,当前有 14 个未关闭 Issue;Star 数为 529,可作为社区活跃度的参考。

关于

A Python library for adversarial machine learning focusing on benchmarking adversarial robustness.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

Python
Shell

README

🚀 Welcome to ARES 2.0 🚀

🌐 Overview

🔍 ARES 2.0 (Adversarial Robustness Evaluation for Safety) is a Python library dedicated to adversarial machine learning research. It aims at benchmarking the adversarial robustness of image classification and object detection models, and introduces mechanisms to defend against adversarial attacks through robust training.

🌟 Features

  • Developed on Pytorch.
  • Supports various attacks on classification models.
  • Employs adversarial attacks on object detection models.
  • Provides robust training for enhanced robustness and various trained checkpoints.
  • Enables distributed training and testing.

💾 Installation

  1. Optional: Initialize a dedicated environment for ARES 2.0.

    conda create -n ares python==3.10.9
    conda activate ares
    
  2. Clone and set up ARES 2.0 via the following commands:

    git clone https://github.com/thu-ml/ares2.0
    cd ares2.0
    pip install -r requirements.txt
    mim install mmengine==0.8.4
    mim install mmcv==2.0.0 
    mim install mmdet==3.1.0
    pip install -v -e .
    

🚀 Getting Started

  • For robustness evaluation of image classification models against adversarial attacks, please refer to classification.
  • For robustness evaluation of object detection models, please refer to detection.
  • For methodologies on robust training, please refer to robust-training.

📘 Documentation

📚 Access detailed tutorials and API docs on strategies to attack classification models, object detection models, and robust training here.

📝 Citation

If you derive value from ARES 2.0 in your endeavors, kindly cite our paper on adversarial robustness, which encompasses all models, attacks, and defenses incorporated in ARES 2.0:

@inproceedings{dong2020benchmarking,
  title={Benchmarking Adversarial Robustness on Image Classification},
  author={Dong, Yinpeng and Fu, Qi-An and Yang, Xiao and Pang, Tianyu and Su, Hang and Xiao, Zihao and Zhu, Jun},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  pages={321--331},
  year={2020}
}

评论

暂无评论