#pgd_adversarial_training时遇到的一些问题
raise TypeError(f"{method_name}: {name}
is not a valid parameter.")
TypeError: FGSM.perturb: x
is not a valid parameter.
原因:overrides版本不对
解决方法:
pip uninstall overrides
pip install overrides==3.1.0
#pgd_adversarial_training时遇到的一些问题
raise TypeError(f"{method_name}: {name}
is not a valid parameter.")
TypeError: FGSM.perturb: x
is not a valid parameter.
原因:overrides版本不对
解决方法:
pip uninstall overrides
pip install overrides==3.1.0