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.

  1. Update the generator to make realistic images



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mike Chaykowsky

Data Scientist at Rivian. x- RAND Researcher. Based out of Los Angeles. @ChaykowskyMike