xialuxi / arcface-caffe

insightface-caffe
MIT License
279 stars 124 forks source link

About the cos_t in cosin_add_m_layer.cpp,and cos_theta > 1 #9

Closed guo253 closed 5 years ago

guo253 commented 5 years ago

Hi, The cos_t is WX from bottom_data,right? WX = ||W||||X||cos(theta), that means,cos_t = ||W||||X||cos(theta), cos_theta >1 frequently, Does it work despite of clip for cos_t?

Thank you!

guo253 commented 5 years ago

Should norm the W and X.