You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use insightface to retrain mobilefacenet , then get new params.
But when I transfer it into NCNN and validate the infer result ,it's quite different from the infer result by MXNET.
I found "fix_gamma" param in the last bn layer of json file is the key factor.
“fix_gamma” is set to true in the original json file of mobilefacenet,when I change it into false in infer stage, the infer result out by MXNET becomes same with NCNN.
After reading MXNET code ,I guess this param should be set to false when doing infer.
But in insightface code train_softmax.py, the verification func ver_test , this param seems doesnot change to false, thus the verification result is correct?
I just started to learn MXNET, not quite familiar with both MXNET and insightface,maybe made some misunderstanding about this.
Bow~
The text was updated successfully, but these errors were encountered:
I use insightface to retrain mobilefacenet , then get new params.
But when I transfer it into NCNN and validate the infer result ,it's quite different from the infer result by MXNET.
I found "fix_gamma" param in the last bn layer of json file is the key factor.
“fix_gamma” is set to true in the original json file of mobilefacenet,when I change it into false in infer stage, the infer result out by MXNET becomes same with NCNN.
After reading MXNET code ,I guess this param should be set to false when doing infer.
But in insightface code train_softmax.py, the verification func ver_test , this param seems doesnot change to false, thus the verification result is correct?
I just started to learn MXNET, not quite familiar with both MXNET and insightface,maybe made some misunderstanding about this.
Bow~
The text was updated successfully, but these errors were encountered: