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

Neural network quantization method, image recognition method, device and computer equipment

A neural network and image recognition technology, applied in the field of neural network, can solve problems such as unreasonable quantification and reduced accuracy of neural network prediction, and achieve the effects of reducing redundancy, reasonable target operation attribute parameters, and small amount of calculation

Active Publication Date: 2022-04-29
MEGVII BEIJINGTECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, although this neural network quantization technique can reduce the computational load of the neural network, it may lead to a serious reduction in the prediction accuracy of the quantized neural network, and there is a problem of unreasonable quantization.

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
  • Neural network quantization method, image recognition method, device and computer equipment
  • Neural network quantization method, image recognition method, device and computer equipment
  • Neural network quantization method, image recognition method, device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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.

[0046] In one embodiment, such as figure 1 As shown, a neural network quantification method 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 Can include the following steps:

[0047] S101, based on the prediction loss and calculation loss of the training samples, adjust the network parameters and operation attribute parameters of the initial neural network to ...

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 present application relates to a neural network quantization method, an image recognition method, a neural network quantization device, an image recognition device, computer equipment and a readable storage medium. The method includes: adjusting the network parameters and operation attribute parameters of the initial neural network based on the prediction loss and operation loss of the training samples to obtain the target operation attribute parameters after training; the operation attribute parameters represent the network layers in the neural network The value of the operation attribute, the operation amount loss is positively correlated with the actual operation amount associated with the operation attribute parameter; the neural network is quantified by using the target operation attribute parameter, and the quantized neural network is obtained. Adopting the method can avoid the problem that the prediction accuracy of the quantized neural network is seriously reduced, and realize reasonable quantification.

Description

technical field [0001] The present application relates to the technical field of neural networks, in particular to a neural network quantization method, an image recognition method, a neural network quantization device, an image recognition device, computer equipment 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. , input feature maps, etc. to compress, reduce the bit width of model parameter values, bit width of activation values, and the size (height and width) of input feature maps, etc., so as to realize the compression of the data volume of neural network model files and reduce the neural network model For purposes such as computing resource requirements during the...

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/40G06V10/94G06N3/04G06N3/08
CPCG06N3/08G06V10/94G06V10/40G06N3/045
Inventor 刘泽春
Owner MEGVII BEIJINGTECH CO 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