Coder Social home page Coder Social logo

trellixvulnteam / deepfake-with-synthetic-face-image_newm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kuangzijian/deepfake-with-synthetic-face-image

0.0 0.0 0.0 90.79 MB

Deepfake with Synthetic Face Image

Shell 0.03% Python 96.77% Jupyter Notebook 3.20%

deepfake-with-synthetic-face-image_newm's Introduction

Deepfake with Synthetic Face Image

Recently, Deepfake and Generative Adversarial Network (GAN) are two hot topics in Deep Learning filed. In this mini project, this project is to build an application to bridge these two techniques.It uses Deepfake technique to replace the face in destination image with any synthetic human faces generated by the GAN.

To run this project on your local machine, please follow the next steps below:

  1. Please manually download the pre-trained pg-GAN model (provided by Nvidia), the trained feature extractor network, and the discovered feature axis from the link https://www.dropbox.com/sh/y1ryg8iq1erfcsr/AAB--PO5qAapwp8ILcgxE2I6a?dl=0

  2. Decompress the downloaded files and put it in project directory as the following format

    root(d):
      asset_model(d):
        karras2018iclr-celebahq-1024x1024.pkl   # pretrained GAN from Nvidia
        cnn_face_attr_celeba(d):
          model_20180927_032934.h5              # trained feature extractor network
      asset_results(d):
        pg_gan_celeba_feature_direction_40(d):
          feature_direction_20181002_044444.pkl # feature axes
    

References

TL-GAN: transparent latent-space GAN. SummitKwan. Retrieved from https://github.com/SummitKwan/transparent_latent_gan

FaceSwap. wuhuikai. Retrieved from https://github.com/wuhuikai/FaceSwap

deepfake-with-synthetic-face-image_newm's People

Contributors

jackkuangama avatar kuangzijian avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.