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

About figure of features #8

Closed
zorrocai opened this issue Jun 13, 2018 · 8 comments
Closed

About figure of features #8

zorrocai opened this issue Jun 13, 2018 · 8 comments

Comments

@zorrocai
Copy link

zorrocai commented Jun 13, 2018

I wonder that how to change the code to plot the figure of features with only softmax loss.
And what do you think about the different shape between the Fig.3 in original paper and the figure produced though your codes.
image
image

@jxgu1016
Copy link
Owner

  1. set loss_weight to 0
  2. I guess that difference may be caused by the initialization of the centers. They may initialize them around a circle.

@zorrocai
Copy link
Author

zorrocai commented Sep 6, 2018

I tried the circular initialization, and it doesn't match your guess.

@jxgu1016
Copy link
Owner

Sorry to hear that. There may be other tricks we don't know..

@zchky
Copy link

zchky commented Oct 4, 2018

@zorrocai

set the bias to False, you can get the circle

@jxgu1016
Copy link
Owner

jxgu1016 commented Oct 4, 2018

Interesting, did you find the solution yourself on this code or refer to other issues on other repo? @zchky

@jxgu1016 jxgu1016 reopened this Oct 4, 2018
@zchky
Copy link

zchky commented Oct 4, 2018

@jxgu1016

you can find something on the paper, (normface: l2 hypersphere embedding for face verification)

@zchky
Copy link

zchky commented Oct 4, 2018

more specifically

Drop the bias of last fully connected layer.

@jxgu1016 jxgu1016 closed this as completed Oct 5, 2018
@jxgu1016
Copy link
Owner

jxgu1016 commented Oct 5, 2018

See Fig. 3 in the paper of NormFace.

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

3 participants