You need Python3.X and conda package manager to run this tool
The follwing steps can be used to install the required packages :
- Clone the repository
git clone https://github.com/tre3x/Deepfake-Video-Forgery-Detection.git - Inialize a conda environment with neccessary packages
conda env create -f environment.yml - Activate conda enviroment
conda activate DeepFakeDetectionOnce the conda enviroment is activated, we can procees to training the model.
For training the model, the following command can be used
python main.py --train {training path} --val {validation path} --epochs {final epoch} --batch {batch size} --steps {steps} {training path} : Path to the training image set
{validation path} : Path to the validation image set
{final epochs} : Number of epochs used while training final fused model
{batch size} : Batch Size used while training and validating
{Steps} : Number of steps per epochs while training