smallflyingpig / universal_adversarial_perturbation_generative_network_for_speaker_recognition

code for paper "Universal Adversarial Perturbations Generative Network for Speaker Recognition"
https://smallflyingpig.github.io/UAPs_for_speaker_recognition/main
MIT License
22 stars 7 forks source link

How to generate the adversarial examples? #3

Open piligoing opened 3 years ago

piligoing commented 3 years ago

After training the attacker model, then how to generate the adversarial examples?

smallflyingpig commented 2 years ago

After training the attacker model, then how to generate the adversarial examples?

Hi, I have some params for testing, including --test, --test_output and --pt_file. Based on the training script, you can set these testing params to generate the adversarial examples.