A PyTorch implementation for the paper [Consistency Regularization for Deep Face Anti-Spoofing] by Zezheng Wang
If you don't have python 3.8 environment:
conda create -n EPCR python=3.8
conda activate EPCR
Then install the required packages:
pip install -r requirements.txt
bash configs/run_ocim_epcr_ssdg_transfas_cim-o.sh
bash configs/run_ocim_leave_one_om-i_c.sh
bash configs/run_ocim_semi_Intra_live0.2_spoof0.2.sh