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

thanks for your help #11

Open
vaeXu opened this issue Mar 28, 2018 · 13 comments
Open

thanks for your help #11

vaeXu opened this issue Mar 28, 2018 · 13 comments

Comments

@vaeXu
Copy link

vaeXu commented Mar 28, 2018

Sorry to bother you. The pictures I verified are all assigned to the same category. What are your suggestions for defining the parameters? Thanks for your help.

@go-mou
Copy link

go-mou commented Mar 29, 2018

@GAVANXU Could you tell me which version of keras and tensorflow to use, plz?
i got this error:
KeyError: "Can't open attribute (can't locate attribute: 'nb_layers')"

@vaeXu
Copy link
Author

vaeXu commented Apr 1, 2018

I am using version 2.1.5 of keras.and did not use the h5py module but directly loaded the model.
if weights_path:
model.load_weights(weights_path, by_name=True)
print('Model loaded.')
But the results of the final test are not ideal.

@vaeXu
Copy link
Author

vaeXu commented Apr 1, 2018

Of course, I'm not sure what's the problem with this. If you solve the trouble and teach me

@vaeXu
Copy link
Author

vaeXu commented Apr 2, 2018

@OeslleLucena i train own model the loss is 0.016 and acc is 0.98, But when testing the picture, all the photos were divided into 1 and the attack photos were divided into 0. Where did the problem occur? I only changed some hyperparameters.

@saurav4098
Copy link

@GAVANXU On which dataset did you train ? I am getting 1 for spoof and real photos with both the weights. Kindly help!!!

@go-mou
Copy link

go-mou commented Apr 3, 2018

@GAVANXU Could u send me ur Code, and briefly describe the steps? thank u very mush.
mail id: [email protected]

@vaeXu
Copy link
Author

vaeXu commented Apr 8, 2018

i train my own dateset. you can train the pretrain weight @saurav4098

@vaeXu
Copy link
Author

vaeXu commented Apr 8, 2018

@saurav4098 I am using the code given by the author only when loading the model with model.load_weights(weights_path, by_name=True) and not making other changes

@vaeXu
Copy link
Author

vaeXu commented Apr 8, 2018

@go-mou
Copy link

go-mou commented Apr 8, 2018

@GAVANXU 谢谢同胞[抱拳]

@shbzygq
Copy link

shbzygq commented Apr 12, 2018

@GAVANXU Which data set do you measure? What is the accuracy of the test?

@lotfiGipsyKing
Copy link

@CacheTechLtd i tested the model with ReaplyATTACK and i found that is not accurate, is the same thing for you ??

@Jason-xin
Copy link

@lotfiGipsyKing can you share ReaplyATTACK dataset with me? I cannot found it anywhere...

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

6 participants