怎样使用对抗样本库advertorch

2024-10-26 01:46:22

1、第一步,在anaconda中创建一个虚拟环境,命令为conda create -n env_name python=3.6

怎样使用对抗样本库advertorch

3、第三步,在虚拟环境中下载advertorch库,命令为pip install advertorch

怎样使用对抗样本库advertorch

5、对于advertorch中对抗方法和防御方法的API查阅可以参考官网,官网网址为https://advertorch.readthedocs.io/en/latest/

怎样使用对抗样本库advertorch
猜你喜欢