Hi, @wy1iu, sphereface is quite a great work and i have some questions about the formula derivation in margin_inner_product_layer. Such as in "margin_inner_product_layer.hpp" file, why set "sign_0 = sign(cos_theta)", "sign_1 = sign(abs(cos_theta) - 0.5)", "sign_2 = sign_0 (1 + sign_1) - 2", "sign_3 = sign_0 sign(2 cos_thetaquadratic - 1)", "sign_4 = 2 sign_0 + sign_3 - 3".
If i want get a pent type, what variables "sign_5" should i set.
Hi, @wy1iu, sphereface is quite a great work and i have some questions about the formula derivation in margin_inner_product_layer. Such as in "margin_inner_product_layer.hpp" file, why set "sign_0 = sign(cos_theta)", "sign_1 = sign(abs(cos_theta) - 0.5)", "sign_2 = sign_0 (1 + sign_1) - 2", "sign_3 = sign_0 sign(2 cos_thetaquadratic - 1)", "sign_4 = 2 sign_0 + sign_3 - 3". If i want get a pent type, what variables "sign_5" should i set.