jayaram-r / adversarial-detection

Code and experiments for the adversarial detection paper
MIT License
19 stars 3 forks source link

data_ty.npy file missing #94

Open wanghangpsu opened 3 years ago

wanghangpsu commented 3 years ago

Hi

When I am trying to run your code detection_main.py, it loads the data_ty.npy file. But I can not find this file or some code to generate this file. I appreciate it if any help is provided

jayaram-r commented 3 years ago

Hello. You will have to first train the DNNs using this script train_dnn. It should download the data files if I remember correctly. After training the DNNs, you will have to generate adversarial samples using this script generate_samples. Note that this can take a few hours to run. The detection script can only be run after these steps. I hope that helps.