Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Quantization strategy determination method of neural network and image identification method and device

A neural network and strategy determination technology, applied in the field of neural networks, can solve the problems of neural network prediction accuracy decline, and achieve the effect of avoiding serious decline in prediction accuracy

Active Publication Date: 2019-10-18
MEGVII BEIJINGTECH CO LTD
View PDF7 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the traditional neural network quantization technology chooses fixed bit width as the quantization strategy, which may lead to a serious decline in the prediction accuracy of the neural network

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 strategy determination method of neural network and image identification method and device
  • Quantization strategy determination method of neural network and image identification method and device
  • Quantization strategy determination method of neural network and image identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0061] In one embodiment, such as Figure 1a As shown, a method for determining a quantitative strategy of a neural network is provided, and the application of this method to computer equipment is used as an example for illustration. The computer equipment can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, servers, etc. , the method may include the following steps:

[0062] S101, obtaining preset multiple quantization strategies for the target neural network; wherein, each quantization strategy is used to represent t...

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 relates to a quantification strategy determination method and device of a neural network, an image recognition method and device, computer equipment and a readable storage medium. The method comprises the following steps: acquiring a plurality of preset quantization strategies for a target neural network; wherein each quantization strategy is used for representing the value of the operation attribute of each network layer in the target neural network, and the target neural network has corresponding model parameters under each quantization strategy; and selecting at least one quantization strategy from a plurality of quantization strategies corresponding to the target neural network as a target quantization strategy according to the test precision of the target neural networkfor testing the test sample by adopting the model parameters under different quantization strategies. By adopting the target quantification strategy determined by the method, the problem that the prediction precision of the target neural network is seriously reduced can be avoided while the target neural network is compressed.

Description

technical field [0001] The present application relates to the technical field of neural networks, in particular to a method for determining a quantitative strategy of a neural network, an image recognition method, a device, a computer device and a readable storage medium. Background technique [0002] With the development of neural network technology, neural network quantization technology has emerged, mainly for model parameter values ​​and activation values ​​(output values ​​or input values) in each network layer (such as convolutional layer and fully connected layer) in the neural network. etc., to reduce the bit width of the model parameter value and the bit width of the activation value, etc., so as to realize the purpose of compressing the data volume of the neural network model file and reducing the computing resource demand of the neural network model during the prediction process. [0003] The traditional neural network quantization technology is to directly compre...

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): G06N3/02G06N3/08G06N3/12
CPCG06N3/02G06N3/08G06N3/126
Inventor 刘泽春郭梓超衡稳
Owner MEGVII BEIJINGTECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products