Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the single_frame in mydata #7

Open
zj19921221 opened this issue May 15, 2020 · 9 comments
Open

the single_frame in mydata #7

zj19921221 opened this issue May 15, 2020 · 9 comments

Comments

@zj19921221
Copy link

hi thanks for you release the code;
I have run the single frame code on my own data of face_anti_spoofing;
in my opnion, the key point of the single frame method is the "Depthwise Spatial
Gradient Magnitude" but I found out that in my exprienment, it is not play a good role in my dataset;
how about your dataset;
on more question : Was the Depthwise Spatial Gradient Magnitude better than "short cut" in you expriment?

looking forward for your reply!
thanks

@clks-wzz
Copy link
Owner

clks-wzz commented May 18, 2020

  1. "Depthwise Spatial Gradient Magnitude" indeed plays an important role in our experiment because it can grasp the detailed spoofing clues.
  2. What's the setting in your experiments, such as backbone, learning rate, training iteration and the scale of your dataset?

@zj19921221
Copy link
Author

thanks for your reply;
1、Have you compared Depthwise Spatial Gradient Magnitude with short_cut which keeped all parameters same;
2、in my experiment, backbone is mobilenet_v2 ; I replace the short_cut with the "Depthwise Spatial Gradient Magnitude" and keeped the parameters all same, I found out that "Depthwise Spatial Gradient Magnitude" is not as well as in my exp and data; how about you?

@clks-wzz
Copy link
Owner

clks-wzz commented May 19, 2020

The mobilenet_v2 may be too deep to converge for RSGB and depth supervised learning. Which loss function do you try in your experiment, binary or depth? A pretrained model initialization on IMAGENET might bring you a better result.

@zj19921221
Copy link
Author

my loss: binary and depth;
thanks for your reply!
I have another question why you use architechture in the single_frame_net;
DO you use other models such as mobilenet_v2 shuffenet_v2 ?
you Net is better than those models?

thanks

@zj19921221
Copy link
Author

The mobilenet_v2 may be too deep to converge for RSGB and depth supervised learning. Which loss function do you try in your experiment, binary or depth? A pretrained model initialization on IMAGENET might bring you a better result.

hi wzz
you mentioned that mobilenet_v2 is too deep; RSGB is more suitable used in the former layers?

@clks-wzz
Copy link
Owner

We have tried deeper network architectures, and found that the deeper models even may be not suitable to the depth supervision task.
You can try RSGB in the former layers, or directly use shallower network architectures.

@zj19921221
Copy link
Author

ok thanks for your reply

@shahrzadesmat
Copy link

hi thanks for you release the code;
I have run the single frame code on my own data of face_anti_spoofing;
in my opnion, the key point of the single frame method is the "Depthwise Spatial
Gradient Magnitude" but I found out that in my exprienment, it is not play a good role in my dataset;
how about your dataset;
on more question : Was the Depthwise Spatial Gradient Magnitude better than "short cut" in you expriment?

looking forward for your reply!
thanks

could you please share your code and your data?thanksss

@punitha-valli
Copy link

@clks-wzz @zj19921221 @shahrzadesmat

Hi,

I would like to know about the test score, in the util_test_OULU_Protocol_1.py

the Testscor.txt, file

can you please tell me about that text file? how to generate those text files.

How did you calculating the map score?

it will be a great help for my studies

hope for a reply

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants