GithubHelp home page GithubHelp logo

pei-kaihuang / icip23_d-ldcformer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.22 MB

ICIP'23 Incorporating Learnable Descriptive Convolution to Vision Transformer for Face Anti-Spoofing

Python 100.00%

icip23_d-ldcformer's Introduction

LDCformer

LDCformer: Incorporating Learnable Descriptive Convolution to Vision Transformer for Face Anti-Spoofing (ICIP '23)

Decoupled Learnable Descriptive Convolution (Decoupled-LDC)

plot

Architecture of LDCformer

plot

Architecture of Decoupled-LDC Block

plot

Requirements

numpy==1.23.3
pytz==2022.4
requests==2.28.1
scikit_learn==1.2.0
timm==0.6.7
torch==1.10.1
torchvision==0.11.2

Training & Testing

Run train.py to train LDCformer

Run test.py to test LDCformer

Citation

If you use the LDCformer/Decoupled-LDC, please cite the paper:

@inproceedings{huang2023ldcformer,
 title={LDCformer: Incorporating Learnable Descriptive Convolution to Vision Transformer for Face Anti-Spoofing},
 author={Huang, Pei-Kai and Chiang, Cheng-Hsuan and Chong, Jun-Xiong and Chen, Tzu-Hsien and Ni, Hui-Yu and Hsu, Chiou-Ting},
 booktitle={2023 IEEE International Conference on Image Processing (ICIP)},
 pages={121--125},
 year={2023},
 organization={IEEE}
}
@inproceedings{huang2022learnable,
 title={Learnable Descriptive Convolutional Network for Face Anti-Spoofing},
 author={Huang, Pei-Kai and H.Y. Ni and Y.Q. Ni and C.T. Hsu},
 booktitle={BMVC},
 year={2022}
}

icip23_d-ldcformer's People

Contributors

pei-kaihuang avatar

Watchers

 avatar

icip23_d-ldcformer's Issues

dataset format is .npy, cannot run

hello @Pei-KaiHuang , this is a nice work.
I see you load data using .npy format files(in train.py line 77). Can you give me more detail about the .npy format files?
Or can you provide a method to directly load images as a dataset?

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.