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

Steps to run the program #3

Open
cserezwan opened this issue Apr 9, 2018 · 5 comments
Open

Steps to run the program #3

cserezwan opened this issue Apr 9, 2018 · 5 comments

Comments

@cserezwan
Copy link

Hello. Can you please explain the steps to run this code? Like how to run this program.

@cserezwan
Copy link
Author

cserezwan commented Apr 20, 2018

While running the train and testing file it's showing the following error:
image

Can anyone give me the solution of this error?

@kimna4
Copy link
Collaborator

kimna4 commented May 10, 2018

Hello, Sorry for the late reply.
I modified my code for readability.

First of all, you should down load Database for face spoofing such as CASIA, Idiap and MSU.
Folder structure is like below.
CASIA -> test_release -> image files
-> train_release -> image files

Idiap -> test -> image files
-> train -> image files

MSUMFSD-> "each folders of client" -> image files

Secondly, I used LibSVM. So, you have to include libSVM for Matlab.

And, just run "training.m" <--- spend so many time. If you want simple test, just run for a database.
After finishing upper step, run "trainingAndTesting_JGP.m"

Following upper step, you can run this program.

@cserezwan
Copy link
Author

Thanks for the reply. I've followed your instructions to run the program. Now I'm having a different problem. While running the "trainingAndTesting_JGP.m" file, I'm getting the following error:

`Undefined function or variable 'getHTER'.

Error in trainingAndTesting_JPG (line 343)
[acc HTER ] = getHTER( Idiap_predict_label, Idiap_TestLabel, numFrames);`

image

Can you please give me some instructions to solve this error?
Thanks in advance.

@kimna4
Copy link
Collaborator

kimna4 commented May 21, 2018

I uploaded the 'getHTER.m' file.
You can use it.
Thank you.

@cserezwan
Copy link
Author

Thanks for the file.

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

2 participants