克隆本项目并安装依赖:
git clone https://github.com/ydc123/AI-Testing.git
cd AI-Testing/audio
pip install requirements.txt
或者从启智社区上克隆本项目
git clone https://openi.pcl.ac.cn/Numbda/AI-Testing.git
cd AI-Testing/audio
pip install requirements.txt
本开源项目的audio/Datasets/中提供了一小部分LibriSpeech数据集。用户可使用上述数据集,或添加其他wav格式音频数据,进行数据集扩展。
使用cd audio/test进入test目录。重明开源项目提供了一个示例的算法文件test.py。可以测试在多种攻击算法下,Deep Speech模型的鲁棒性结果:
python test.py
上述命令将测试Deep Speech模型,在FGSM、PGD、CW、遗传算法以及Imperceptible CW算法攻击下,模型预测的结果。
Content type
Image
Digest
sha256:39f5e84d1…
Size
3.5 GB
Last updated
over 3 years ago
docker pull wenh06/ai-testing-audio