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

combine with sphereface #21

Open
xizi opened this issue Sep 18, 2017 · 11 comments
Open

combine with sphereface #21

xizi opened this issue Sep 18, 2017 · 11 comments

Comments

@xizi
Copy link

xizi commented Sep 18, 2017

@happynear hi, how can i combine the normface with sphereface, could you give me some help?

@happynear
Copy link
Owner

Simply combine normface with sphereface (normalize both of the feature and weights) will only make the performance worse. I am preparing a paper to describe the correct way to do this. You may see it in two months...
At present, you may try the sphereface algorithm to get more familiar with the parameter tuning.

@xizi
Copy link
Author

xizi commented Sep 19, 2017

Great, i'm looking forward to your paper and can you remind me when paper is completed? My wechat name is xizi_fish and we can add as a friend.

@KaleidoZhouYN
Copy link

@happynear so do you have any idea about coco_loss(present by sensetime,normalized both feature and weghts) and reach an unbelievable high accuracy on LFW only using CASIA-Webface.which means they have solved eyeglasses,expression and large-angle face pose.I'm very confused about whethre this can be solved only use CAISA-Webface.

@happynear
Copy link
Owner

They changed their description in the newest version. They actually used MS-Celeb as the training set.

@KaleidoZhouYN
Copy link

@happynear and may I ask how is the progress going for combining normface with sphereface?

@happynear
Copy link
Owner

That's failed. The new algorithm only works on LFW BLUFR protocol. On megaface, it's performance is similar with sphereface. It is not good enough for top conferences.

@KaleidoZhouYN
Copy link

@happynear sorry to hear about that,but have you considered the reason why you combine normface and sphereface,is there a theoretical idea that combine normface and sphereface should work?Maybe it's the other reasons(like alignment) that cause it to fail on megaface.

@happynear
Copy link
Owner

happynear commented Nov 24, 2017

Well, normface actually doesn't have a theoretical basis. It is based on a methodology that we should make training and testing consistent. A methodology is not as strong as a mathematical theory. Whether we should normalize the feature or not is still doubtful.

Now I think feature normalization gives us a way to directly control the temperature (i.e. the scale in my paper) of softmax loss, while we cannot control it through traditional softmax loss because the temperature can be merged into previous layers.

But feature normalization has many drawbacks. For example, after feature normalization, features can only go along the surface of hypersphere, cannot pass inside. Feature normalization is also unstable near the zero point. A small disturb may cause a feature across the zero point. After normalization, crossing the zero point means getting to the other side of the hypersphere, which is a big change.

@KaleidoZhouYN
Copy link

@happynear How about the accuracy on LFW?higher or lower?

@KaleidoZhouYN
Copy link

@happynear I do think sphereface will be better if combine with sphereface.We can talk about this on WeChat,my WeChat is zyn1000010412

@happynear
Copy link
Owner

I usually don't use WeChat. Maybe you can join our QQ group 347185749.

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