Check patentability & draft patents in minutes with Patsnap Eureka AI!

Image recognition method and device, storage medium and equipment

An image recognition and target image technology, applied in the field of image processing, can solve problems such as difficulty in selecting segmentation thresholds, decreased network recognition accuracy, unstable pruning process, etc., to maintain excellent results, stabilize the pruning training process, and avoid waste. Effect

Pending Publication Date: 2021-11-09
IFLYTEK CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current network pruning method uses L1 regularization to optimize the scale factor representing the importance of neurons, so as to directly remove neurons whose scale factors are lower than a certain threshold, so as to realize the structured pruning of neural networks. This pruning method is to use L1 regularization to advance all scale factors to 0 indiscriminately, resulting in a large number of scale factors concentrated near 0, making it difficult to choose a reasonable segmentation threshold, resulting in a serious decline in network recognition accuracy, while pruning The instability of the process will also lead to a decrease in network performance after pruning, and further fine-tuning of the pruned network is required, which will also cause a waste of computing resources

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 method and device, storage medium and equipment
  • Image recognition method and device, storage medium and equipment
  • Image recognition method and device, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0084] see figure 2 , which is a schematic flow chart of an image recognition method provided in this embodiment, the method includes the following steps:

[0085] S201: Acquire an image of a target to be identified.

[0086] In this embodiment, any image that needs to be classified and recognized is defined as the target image. It should be noted that this embodiment does not limit the type of the target image to be recognized. For example, the target image can be made of red (R), A color image composed of the three primary colors of green (G) and blue (B), or a grayscale image, etc.

[0087] It can be understood that the target image can be obtained by taking pictures according to actual needs, for example, images taken by mobile phones in people's daily life, or images intercepted from video streams, etc. can be used as target images, or can also be Obtain an arbitrary image from an image recognition dataset such as CIFAR-10 or ImageNet as a target image. Further, after...

no. 2 example

[0156] This embodiment will introduce an image recognition device, and for relevant content, please refer to the foregoing method embodiments.

[0157] see Image 6 , which is a schematic diagram of the composition of an image recognition device provided in this embodiment, the device 600 includes:

[0158] A first acquiring unit 601, configured to acquire a target image to be identified;

[0159] The first identification unit 602 is configured to input the target image into a pre-built image recognition model to identify the feature vector of the target image; the image recognition model performs adaptive pruning according to the computing power of neurons, And use the way of confrontation training and knowledge distillation to train the obtained neural network model;

[0160] The second recognition unit 603 is configured to recognize the target image according to the feature vector of the target image, and obtain a recognition result of the target image.

[0161] In an im...

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 invention discloses an image recognition method and device, a storage medium and equipment, and the method comprises the steps: firstly obtaining a to-be-recognized target image, inputting the to-be-recognized target image into a pre-constructed image recognition model, and carrying out the recognition to obtain a feature vector of the target image, wherein the image recognition model is a neural network model obtained by performing self-adaptive pruning according to the computing power of neurons and training by means of adversarial training and knowledge distillation; and then, according to the feature vector, identifying the target image to obtain an identification result of the target image. Thus, the pre-constructed image recognition model performs self-adaptive pruning by using the computing power of neurons, so that the pruning efficiency is improved, and the model can effectively inherit knowledge contained in the current mainstream neural network model through the training modes of adversarial training and knowledge distillation, and the maximized recognition performance effect is ensured to be maintained, so that the image recognition efficiency can be effectively improved under the condition.

Description

technical field [0001] The present application relates to the technical field of image processing, and in particular to an image recognition method, device, storage medium and equipment. Background technique [0002] With the continuous breakthrough of artificial intelligence technology and the increasing popularity of various smart terminal devices, the number of images to be processed has shown a geometric growth. In the field of image processing, one of the most common tasks is image recognition tasks. In image recognition datasets such as ImageNet, there are more than 1,000 image categories such as airplanes, cars, birds, cats, and deer, with a total of 15 million images. The image recognition task is essentially a classification task, and it is usually necessary to solve an effective classifier to accurately classify an image into its true category. [0003] Traditional image recognition methods usually use the current mainstream neural network for recognition, such a...

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
IPC IPC(8): G06K9/62G06N3/04G06N3/08
CPCG06N3/082G06N3/045G06F18/22G06F18/2415Y02T10/40
Inventor 张圆
Owner IFLYTEK CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More