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

512 Features instead of 4096 #37

Closed
ghost opened this issue Jun 13, 2018 · 1 comment
Closed

512 Features instead of 4096 #37

ghost opened this issue Jun 13, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 13, 2018

Hi there, thank you for posting this implementation. I have a question. I am confused at why I seem to be getting 512 dimensional representations when I set include_top = False instead of 4096 dimensions. I can get 4096 dimensional representations by setting include_top = True and using the output from layer fc7, however I am curious about what is going on in the former case. The 512 dimension representations seem to perform better for the purpose of comparing face similarity too.

@rcmalli
Copy link
Owner

rcmalli commented Jul 22, 2019

When you set the include_top=False the model does not have the fully connected layers. That is why you are only able to get 512 dimensions.

@rcmalli rcmalli closed this as completed Jul 22, 2019
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