vadel / AudioUniversalPerturbations

12 stars 6 forks source link

How to create level-3 perturbation of whole data-set ? #2

Open ashishcse0031 opened 4 years ago

vadel commented 4 years ago

Hi, you need to specify the training instances that will be used to create the perturbations in the "input_filenames" parameter (you can check the documentation for more details). You can include in this file your whole dataset, and the algorithm will optimize the perturbation in order to fool all the instances. Just make sure that you insert enough samples per class if you want to create Level-3 universal perturbations.