Comments (2)
The training accuracy in the training protext is not the true accuracy of the model. Because when you are training the network with A-Softmax (say with m=4), you are actually using a harder classification rule than the standard classification. The network will classify the sample correcly only if the sample are achieving a large margin criterion, but in fact, the sample can be also successfully classified in testing even if it does not fully satisfy the m=4 large margin criterion.
If you want to show the training accuracy, you might need to modify the computation of the training accuracy in the training protext file in order to make it comparable with the computation of the testing accuracy.
Overall, it is unlikely that A-Softmax loss will reduce the classification accuracy (if you train it successfully).
from sphereface.
The training accuracy in the training protext is not the true accuracy of the model. Because when you are training the network with A-Softmax (say with m=4), you are actually using a harder classification rule than the standard classification. The network will classify the sample correcly only if the sample are achieving a large margin criterion, but in fact, the sample can be also successfully classified in testing even if it does not fully satisfy the m=4 large margin criterion.
If you want to show the training accuracy, you might need to modify the computation of the training accuracy in the training protext file in order to make it comparable with the computation of the testing accuracy.
Overall, it is unlikely that A-Softmax loss will reduce the classification accuracy (if you train it successfully).
Thank you for your reply!
I am still confused about how to set the values of MarginInnerProduct parameters(such as base and gamma) base on my data(such as number of categories and number of samples).
from sphereface.
Related Issues (20)
- How to construct your input text file?
- cos(4\theta ) issue
- C + + version
- LFW 1024-dim HOT 1
- bad results but good loss HOT 1
- lambda on test
- Data Preprocess HOT 1
- Data preprocess
- Index exceeds matrix dimensions when runing evaluation.m
- Invalid MEX-file '/home/caffe/matlab/+caffe/private/caffe_.mexa64': /usr/local/lib/libopencv_imgcodecs.so.3.4: undefined symbol: _ZN2cv6detail17check_failed_autoEmmRKNS0_12CheckContextE.
- sphereFace划分的类别数等于训练集中人脸总数吗? HOT 1
- why my softmax loss [email protected] , who can help me ?
- Effect of mean and scale during the training
- coverted
- 性质2是怎么证明的呢
- Is any one know how to plot the Fig. 5 in paper? What type of tool is required to achieve this? HOT 2
- what is the function of normalizing weights?
- Compare untrained new faces from photos with multiple faces
- How to generate ' lfw-112X112 ' ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sphereface.