Implementation for DeepFake Detection Using Ensembling Techniques
Determining whether a given video is Real or Fake by cropping the face of a person and classifying the cropped image by ensembling ResNext and EfficientNetB6
- Clone this repository.
https://github.com/kenil-shah/DeepFake_Detection.git
-
In the repository, execute
pip install -r requirements.txtto install all the necessary libraries. -
Three deep learning models are used inorder to determine the class of video
- YOLO Face model:- Used to determine the coordinates of the face of person and generate a cropped facial image using those coordinates
- ResNext:- First Model used for ensembling
- EfficientNetB6(With Attention):- Second Model used for ensembling
-
Download the pretrained weights.
- YOLO Face model pretrained weights and save it in /model_data/
- ResNext:- pretrained weights and save it in the root directory
- EfficientNetB6(With Attention)pretrained weight and save it in the root directory
