Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image recognition model training method, electronic device and storage medium

An image recognition and training method technology, applied in the field of visual matching and search, can solve the problems of inability to directly compare, high cost, inability to re-extract features, etc., to achieve the effect of ensuring consistency

Active Publication Date: 2022-05-31
合肥的卢深视科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In practical application scenarios, in order to provide users with a better experience, the recognition model based on visual matching and search technology needs to be iteratively updated. However, after the recognition model is updated, the features in the probe are extracted with the new model. However, the features in the gallery are all extracted with the old model. In order to ensure the consistency of the features between the probe and the gallery, technicians need to use the new model to re-extract features from the original image data corresponding to the gallery. This process takes a very long time. , The cost is very high, and in some scenarios with high security requirements, the original image data corresponding to the gallery is automatically deleted after the gallery is generated, and the features cannot be re-extracted, so the consistency of the features between the probe and the gallery cannot be guaranteed. cannot be compared directly

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image recognition model training method, electronic device and storage medium
  • Image recognition model training method, electronic device and storage medium
  • Image recognition model training method, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In step 101, a training sample of the first model is obtained, and the training sample is marked with a label.

[0028] Step 102, build a second model based on the network structure of the first model.

[0030] In one example, the server may directly use the first model as the second model.

[0031] In one example, the server may use the network structure of the first model as the network structure of the second model, and

[0034] In one example, the first model and the third model use different algorithms.

[0035] In one example, the network structures of the first model and the third model are different.

[0038] Step 104, according to the category center vector of each feature category, determine the classification layer weight of the second model.

[0042] In one example, the server may iteratively train the second model based on stochastic gradient descent.

[0044] In an example, the training samples are several, and the server can

[0048] In a specific implementati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application relates to the field of visual search technology, and discloses a training method for an image recognition model, an electronic device, and a storage medium. The method includes: obtaining a training sample of the first model; wherein, the training sample is marked to represent the training sample The label of the feature category of the feature; based on the network structure of the first model, construct the second model; according to the training sample and the third model, obtain the category center vector of each feature category corresponding to the third model; wherein, the first model and the third The model is a model with the same function; according to the category center vector of each feature category, the classification layer weight of the second model is determined; the second model is iteratively trained according to the training samples and labels, and the second model is updated except for the classification layer weight Parameters, the feature set extracted by the trained model can be directly compared with the feature library extracted by the old model, saving time and effort, reducing costs, and greatly improving the convenience of industrial deployment of the model.

Description

Image recognition model training method, electronic device and storage medium technical field Embodiments of the present application relate to the technical field of visual matching and search, in particular to the training of a kind of image recognition model Methods, electronic devices, and storage media. Background technique [0002] With the increasing maturity of visual matching and search technology, recognition models based on visual matching and search technology are widely used. It is widely used in many fields, such as image retrieval, pedestrian re-identification, vehicle re-identification, face recognition, etc., which are based on visual matching. The recognition model of matching and search technology maps the image to a feature embedding space through a deep neural network, where the feature space is empty. From time to time, the features of the same category are close to each other and clustered together. Generally speaking, for large-scale image data i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06V10/774G06K9/62
CPCG06F18/24133G06F18/214
Inventor 浦煜何武付贤强朱海涛户磊
Owner 合肥的卢深视科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products