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

Quantization method and device of image recognition model, computer equipment and storage medium

An image recognition and quantification method technology, applied in the field of neural networks, can solve the problems of low precision value of the second image recognition model, low precision value of fixed-point data, etc.

Pending Publication Date: 2020-10-30
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this quantization parameter does not necessarily match each network layer; therefore, when quantizing the floating-point data of each network layer through this quantization parameter, the precision value of the fixed-point data obtained is low, resulting in the quantization of the first The accuracy value of the second image recognition model is low

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
  • Quantization method and device of image recognition model, computer equipment and storage medium
  • Quantization method and device of image recognition model, computer equipment and storage medium
  • Quantization method and device of image recognition model, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0078] When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0079] In the description of the present application, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and should not be understood as indicating or implying relative importance. In the description of this appli...

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 invention discloses an image recognition model quantification method and device, computer equipment and a storage medium, and belongs to the technical field of digital information transmission. The method comprises the steps: determining a first image set used for model quantization, and determining a second image set used for verifying model precision; determining a first quantization parameter of a to-be-quantized first image recognition model according to the first image set; for a target network layer in the first image recognition model, performing a precision test on the first image recognition model according to the second image set and the first quantization parameter to obtain a second quantization parameter matched with the target network layer; and according to the second quantization parameter, quantizing the target network layer in the first image recognition model to obtain a second image recognition model. Because the second quantization parameter is matched with the target network layer, the target network layer is quantized through the second quantization parameter, and the precision value of the quantized second image recognition model can beimproved.

Description

technical field [0001] The embodiments of the present application relate to the technical field of neural networks, and in particular to a quantification method, device, computer equipment, and storage medium of an image recognition model. Background technique [0002] In the field of neural network technology, image recognition needs to be performed through image recognition models in many scenarios; in order to speed up the running speed of image recognition models and reduce the power consumption of computer equipment, a common solution is to quantify the image recognition model and convert the image The parameters in the recognition model are quantized from floating-point data to fixed-point data. [0003] In related technologies, the computer equipment quantifies the image recognition model as follows: the computer equipment determines the first image recognition model to be quantified, and the input data, weight data and output data of each network layer of the first 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 Applications(China)
IPC IPC(8): G06K9/00G06N3/08
CPCG06N3/08G06V40/16
Inventor 刘君
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
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