This project implements a deepfake detection model using the BNext architecture on the CIFAKE dataset. The goal is to classify images as real or AI-generated synthetic images.
Run this to clone the repository
git clone https://github.com/MYAzrak/CV-Project-G5.git
Install the required dependencies by running:
pip install -r requirements.txt
Download the CIFAKE dataset by cloning their repository.
git clone https://github.com/jordan-bird/CIFAKE-Real-and-AI-Generated-Synthetic-Images
Download the best pre-trained model to use it in testing from 'Pre-trained model' release.
Modify train_dir, test_dir, and model_path in config.py to point to your specific dataset and pre-trained_model paths.
Run train.py, test.py, or inference.py.
This project was worked on with the contributions of arcarum, Adithya, and Mohammad Yasir Azrak.