Skip to content

dmitry-vorobiev/kaggle-deepfake-detection-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaggle-deepfake-detection-challenge

My solution for the Deepfake Detection Challenge

Installation

Assuming the user has a standard Anaconda3 environment

  1. Install NVIDIA DALI. Instructions can be found here.

  2. Create a new folder called vendors or something similar. It will be used for 3rd party code which lacks proper install mechanisms

  3. Install Pytorch_Retinaface:

cd vendors
git clone https://github.com/biubug6/Pytorch_Retinaface.git

then go to src/prepare_data.py and update this line with path to Pytorch_Retinaface in your system:

sys.path.insert(0, '/home/dmitry/projects/dfdc/vendors/Pytorch_Retinaface')
  1. Download pretrained weights from Google Drive.

  2. Install other non-standart pip packages:

pip install h5py numba pytorch-ignite hydra-core