Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
WEN Hao ed3a4603d0 | 7 months ago | |
---|---|---|
.. | ||
Datasets | 7 months ago | |
EvalBox | 7 months ago | |
Models | 7 months ago | |
configs | 1 year ago | |
test | 7 months ago | |
utils | 7 months ago | |
.gitignore | 1 year ago | |
Dockerfile | 7 months ago | |
README.md | 1 year ago | |
TestingImage.py | 7 months ago | |
no-test.Dockerfile | 1 year ago | |
requirements-apt.txt | 9 months ago | |
requirements-no-torch.txt | 9 months ago | |
requirements.txt | 9 months ago |
克隆本项目并安装依赖:
git clone https://github.com/ydc123/AI-Testing.git
cd AI-Testing/image
pip install requirements.txt
或者从启智社区上克隆本项目
git clone https://openi.pcl.ac.cn/Numbda/AI-Testing.git
cd AI-Testing/image
pip install requirements.txt
本开源项目的image/Datasets/
中提供了Cifar10和ILSVR2012-ImageNet数据集。用户可使用上述数据集,或按照完整API文档,进行数据集扩展。
用户需要使用所选数据集的训练集,执行模型训练过程。由于空间所限,本项目中统一不提供数据集对应的训练集,仅给出测试集以供测试。
使用cd image/test
进入test目录。重明开源项目提供了几个示例的算法文件。如测试在FGSM攻击算法下,Resnet20模型的鲁棒性结果:
# 使用接口文件默认参数
python testimport.py
# 自定义参数调用
python testimport.py --attack_method "FGSM" --evaluation_method "ALDp" --model_dir ""
上述命令均将测试ResNet20模型,在FGSM算法攻击下,ALDp指标的评测结果变化。并将结果存在image/test/temp
。
本项目为AI-Testing开源项目的算法内核,是一个用于 计算机视觉、文本自然语言处理、音频处理 等多个领域的对抗攻击全流程评测算法学习研究的 Python库。
https://numbda.cs.tsinghua.edu.cn/AI-Testing/
Python Pickle Text Dockerfile Jupyter Notebook other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》