Technical requirements
To run any of the code in this chapter, we recommend downloading our official repository at https://github.com/PacktPublishing/Exploring-Deepfakes and following the instructions for setting up an Anaconda environment with all of the required libraries.
In order to train, you must have two sets of extracted faces. You’ll feed both sets into the model and it will learn both faces separately. It’s important that you get sufficient data for both faces and that there be a good variety. If you’re in doubt, please check Chapter 3, Mastering Data, for advice on getting the best data.