Design method of multi-class center classification network model
A classification network and design method technology, applied in the field of deep learning, can solve problems such as model performance degradation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0041] A design method of a classification network model of a multi-class center, comprising the steps of:
[0042] S1: Design a multi-class center classification network model, the model framework is as attached figure 2 As shown, the model framework of the classification network model includes a feature extraction network (CNN), a fully connected group, a multiplexer, and a loss function:
[0043] S11: Set multiple class centers for each category; after the CNN feature extraction network, connect a multi-channel parallel FC group, and the row vector of the weight matrix of each FC layer is a class center, that is, each category Corresponding to multiple row vectors in the multi-channel FC layer, there are multiple class centers; commonly used feature extraction networks include: Resnet, Inception, DenseNet, etc., and there are many versions of each type, which can be based on The scale of the task to be processed selects the feature extraction network, and selects the numb...
specific Embodiment approach 2
[0047] Optimize the penalty term of the loss function, and add the class center distance as an additional penalty term to the calculation of the loss function;
[0048] S21: During the forward calculation process, the aggregation radius of each center point in the dynamic statistics class, as shown in the attached Figure 4 As shown, in this example, the cosine distance is used as the measure of distance;
[0049] S22: Taking the aggregation radius as the threshold, when the distance between the centers in the class is smaller than the aggregation radius, add it as a penalty item to the loss function, which can drive the separation of the center points in the class and prevent them from sticking together. The trend of richness of features also increases the separability and determinability of the model. The calculation formula of the penalty item is:
[0050]
[0051]
[0052]
[0053]
[0054] Among them, N represents the number of target categories, L i.g12 , ...
specific Embodiment approach 3
[0057] Train the network model:
[0058] The forward calculation process is:
[0059] S211: Preprocessing the input samples, such as: image enhancement and normalization processing;
[0060] S212: Input the preprocessed image data into the feature network model, and calculate the corresponding feature vector;
[0061] S213: Send the feature vector to the parallel multi-channel FC layer and the row vector of the multi-channel FC to calculate the inner product value; as attached image 3 The operation of the eigenvector and the FC weight matrix shown, each row vector of each FC weight matrix is used as a class center of a classification;
[0062] S214: Send the calculated value of the vector inner product in step S213 to the multiplexer to select a suitable class center; as attached image 3 As shown, the output value of the inner product of the feature vector and the FC row vector is the predicted probability of the category to which it belongs, and the specific appended ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com