Git Product home page Git Product logo

face-anti-spoofing.pytorch's Issues

preprocess input image

Hi, i am curious about these two aspect:
First: I am curious about the input of net, just crop detect box of face(resize to 128*128?), is there other process?
Second: I am also curious about why net depth output hold 2 channel? depth mask label just 1 channel

Dataset

Could you reupload dataset anywhere else, baidu is too slow. Thanks

Train Data

Hi, Thanks for sharing your code, could you reupload training data somewhere else? baidu is extremely slow, less than 1kb/sec. Would be nice if you can upload on google drive. Thanks

Questions about the network architecture

You have done a great work.
But, I have a question about the architecture about the network.
In your paper, the network details are as follows:
image

And I think it is similar to the network proposed in Learning Deep Models for Face Anti-Spoofing: Binary or Auxiliary Supervision.

But, when I look into your code about the definition of the network, I think there is a big difference about the implementation of the network between the code and the paper.

Or are these two networks of the code and the paper equivalent?

Looking forward to your reply.
Thanks.

transforms for image and depth are not sync together

I notice that the transforms for image data and depth data are not the same, there would be RandomResizedCrop for image data and just Resize for depth data. Wouldn't it lead to mismatch pixels for the generated depth and the ground truth depth?

The so files question

Hello up , can you publish the so source code? Now I don't know how to implement data processing.

Training on new dataset

Currently I'm trying to train the network using id pro dataset, but it seems like inference is not really imrpoving, i basically got this kind of result:

threshold 0.5: frp = 0.07120253164556962 ; tpr = 0.08847184986595175

Could you suggest on how can I improve it ? Before the training I crop the faces, scaled it to 256x256, labeled it correctly, used your dataset as an example. Your is training pretty well

Link for sample dataset not working.

Hi, Thanks a lot for this. Could you please however let know why the 'part of the training' data Baidu link is dysfunctional? The link does not return any file.

Regards

安卓demo 和训练的模型的效果好像不一样啊

首先非常非常感谢,作者的开源精神,再次感谢.
我运行了安卓的demo,效果是很好的,也看了一下输出的信息,想不明白为何要keep static 呢? 感觉安卓demo和训练的模型运行机制不一样啊,
我训练了模型,也理解了作者的意图,引入了depth 信息,但是测试的时候效果不及安卓demo,还请大佬指点一下

GPU used for training ?

What is graphic card you used for training ? I do have RTX2060 SUPER and seems like its not enough :(
I do receive the following:

RuntimeError: CUDA out of memory. Tried to allocate 512.00 MiB (GPU 0; 8.00 GiB total capacity; 5.92 GiB already allocated; 107.97 MiB free; 171.50 KiB cached)

About data

Hi!

Thanks a lot for this repository!

Is it possible to download the data without baidu account? I can't create one from Russia((((

Depth generation scripts

Could you also upload depth generators for training set. I'd like to test on another dataset also. Later I can share model here also

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.