Skip to content

Confusion with ir50 preprocessing #13

Description

@BRO-HAMMER

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions