GithubHelp home page GithubHelp logo

fb-wh / face-anti-spoofing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skykuang/face-anti-spoofing

0.0 1.0 0.0 836 KB

ChaLearn Face Anti-spoofing Attack Detection Challenge@CVPR2019

Python 100.00%

face-anti-spoofing's Introduction

Face-anti-spoofing

ChaLearn Face Anti-spoofing Attack Detection Challenge@CVPR2019

Usage: 运行环境: Ubuntu 16.04, GPU:GTX 1080Ti

需要库: python == 3.6.2 pytorch == 0.4 .1 numpy ==1.15.2 matplotlib == 3.0.2 sklearn ==0.20.3 opencv-python==3.4.3 Pillow

安装相关库文件:

pip install -r requirements.txt

数据集文件夹如下所示:

数据集文件目录

移除了预训练模型!

步骤:

  1. cd Face-anti-spoofing
  2. pip install -r requirement.txt #安装所需库
  3. 运行: CUDA_VISIBLE_DEVICES=0 python train.py --root datapath

运行: CUDA_VISIBLE_DEVICES= 0 python train_xx.py --root /home/xxxx/datasets/CASIA-SURF

face-anti-spoofing's People

Contributors

skykuang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.