In the very basics, these networks work as follows:
1. Collect a ton (think hundreds of thousands samples if not more) of training data, in this case pictures of people.
2. Feed this data into the network to train it. Training allows the network to ‘learn’ what makes the picture a human.
3. After the training, you can ask the network to generate a random picture which according to the network still looks like a human.
Of course, training such a network is hard, but there’s libraries out there that can help you get started.
Latest Answers