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

Confusion with ir50 preprocessing #13

Open
BRO-HAMMER opened this issue Oct 28, 2020 · 0 comments
Open

Confusion with ir50 preprocessing #13

BRO-HAMMER opened this issue Oct 28, 2020 · 0 comments

Comments

@BRO-HAMMER
Copy link

BRO-HAMMER commented Oct 28, 2020

Hello @shaoanlu, first of all thank you for a great job porting the models to keras.
I'm unsure of what exactly is this step doing. I think that corresponds to a center crop of a tensor with shape (b,128,128,3) resulting in a tensor with shape (b,112,112,3), but the ir50 preprocessing layer is resizing the tensor to 112 x 112 beforehand.
Could this be a mistake?

Edit: I can confirm this shouldn't be in the preprocessing step, at least in combination with alignment.
Evaluation on LFW using face-alignment with MTCNN landmarks increased from 99.62% to 99.82% after removing that step.

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

1 participant