Generate Faces that Trick Facial Recognition with GANs in PyTorch
My goal here is to create an easily adaptable framework to generate faces that look realistic, but also trick a facial recognition classifier. The example we will work through is the task of generating realistic faces that always classify as your face — despite them not being your face (or anyone’s face for that matter).
This is actually a tricky task because it involves updating the generator in two ways.
- Update the generator to make realistic images