r/AskComputerScience • • Aug 13 '19

How to: Deep Fakes

I recently came across this deep fake video: https://www.youtube.com/watch?v=bPhUhypV27w

And ever since, I have been in shock. I am obsessed and want to learn how I can create such videos. How/Where do I begin? What do I need to learn, in terms of programming and other academic knowledge before I can start to create such deep fakes?

Background: I have strong knowledge of math (MSc). I can program in C++ and am half decent in R.

I expect massive gaps in my knowledge so this will be more of a long term thing I'll do as a hobby.

P.S: First time posting here, if there is a more appropriate subreddit for this question, please let me know. Thanks!

30 Upvotes

7 comments sorted by

13

u/PUSH_AX Aug 13 '19

Check out https://github.com/shaoanlu/faceswap-GAN

This is what most people are using for the good deep fakes. And it's open source, so start digging and learning.

10

u/S1R_R34L Aug 13 '19

I'm no expert, but I think you'll want to look into Deep Learning and Generative Adversarial Networks (GANs). A lot of people recommend starting with Andrew Ng's Machine Learning course on Coursera, then doing the Fast.ai courses on deep learning.

3

u/nat5142 Aug 14 '19

I feel a need to say that I think this technology is incredibly dangerous. It blurs the line between fiction and reality more so than anything the world has ever seen before.

Just know that you (and anyone else reading this) has not just a duty, but an obligation to use this tool for good, and not evil.

1

u/Jerome_Eugene_Morrow Aug 14 '19

You might want to check out the relatively new /r/learnmachinelearning for more resources. Though holy hell, now that I take a look at it I am amazed at how many memes are there...

-3

u/shengch Aug 13 '19

There's some really cool uses for neural networks other than face swapping, there an open source poker one that's beating top players