Giter Site home page Giter Site logo

deepfake-image-clssification's Introduction

Deepfake-Image-Classification

Identifying the GANs generated image.

Dependencies and Installation Guide

Programming Language:

  • Python 3.6

Libraries needed to Run this project:

  • tensorlow-1.13.0
  • opencv-python
  • keras-2.3.0
  • matplotlib
  • os
  • mtcnn
  • pillow

Required model architecture and weights files:

you can download the weights and model architecture file from here: https://drive.google.com/open?id=1KujeIcVzoRWHgBlO-BzpClxhujUbeDmV

Dataset:

Dataset for training the model are available here: https://drive.google.com/file/d/1smby8vBB0g8bNtUsQ10OdjF-4FK9k_GS/view

Instructions to train the model:

  • Dataset which is provided in the link is already preprocessed and it contains images which has only faces i.e. MTCNN is already applied.
  • You need to download the dataset and just run the model training section since face detection part is already done.
  • give the path of folders into the ImageDataGenerator and run the model it will start training.

Insutuctions to test the model:

  • You will to download the model.json and model.h5 file and will have to give the path of these files in the testing of the notebook.
  • Then choose the image on which you want to make the prediction give that imaeg path in the testing section and predictions will be generated.

References:

You can read my blog on Fake Face Classification:

https://medium.com/@gouravbais08/fake-face-image-classification-91a6225e708d

<script src="https://gist.github.com/gouravsinghbais/656938bc2ae8818c10cc39982405fecd.js?file=gist.md"></script>

deepfake-image-clssification's People

Contributors

gouravsinghbais avatar

Watchers

 avatar

Forkers

hemamalinicse

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.