KQL11 / DFD-Baseline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deepfake Detection Baselines

Deepfake detection baselines with CNN backbones (Resnet, Xception and Efficientnet)

Pre-processing

# extract face images from videos
python ext_ff.py
python ext_celeb.py
 
# split datasets
python get_txt.py

Training

python train.py
# manage training processing with wandb
# python wandb_train.py
# batch training
bash run_train.sh

Testing

# batch testing
bash run_test.sh

Visualization

# visualize CAM-based results
python visualization.py

About


Languages

Language:Python 98.5%Language:Shell 1.5%