In order to run the adversarial attack example against FaceNet's CNN, go through the following steps:
- Install the FaceNet library, download and align the LFW faces, and download a pretrained FaceNet model as described in the FaceNet tutorial available at https://github.com/davidsandberg/facenet/wiki/Validate-on-LFW.
- Verify that the downloaded datasets and the models' folders are in the same folder of the example.
- Edit the following line in the example code, verifying that the name and path of the .pb file match the path and the filename of the FaceNet model downloaded previously:
model_path = "models/facenet/20170512-110547/20170512-110547.pb"
- Launch the Python script with the following ...