Network adaptive semi-precision quantification image processing method and system

An image processing, half-precision technology, applied in image data processing, image enhancement, image analysis and other directions, can solve problems such as performance degradation, performance loss, inappropriateness, etc., to reduce computing resource requirements, reduce quantization errors, quantization accurate effect

Pending Publication Date: 2020-08-25
AEROSPACE INFORMATION RES INST CAS
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method weakens the expressive ability of the network. Even for complex classification tasks, the performance will drop a lot, and it cannot be applied to more complex detection models.
The paper "TrainedTernary Quantization" is a typical three-value quantization method. This method does not simply quantize parameters to 0, +1, -1, but quantizes each layer into different parameters by learning, although certain The performance loss can be avoided to a certain extent, but this method only quantizes the weight value, not the activation value, and still uses 32-bit floating point numbers to represent the quantization parameters, which is also not suitable for deployment on edge devices
In addition, there are some post-training quantization algorithms that directly quantify model parameters for inference. Although this method is simple to implement, it does not retrain the network to learn and correct the errors caused by quantization, which leads to greater performance loss.

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
  • Network adaptive semi-precision quantification image processing method and system
  • Network adaptive semi-precision quantification image processing method and system
  • Network adaptive semi-precision quantification image processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] The flow chart of an image processing method for network adaptive semi-precision quantization provided by the present invention is as follows figure 1 Shown, including:

[0059] Step 1: Collect image data of edge computing devices;

[0060] Step 2: Input the image data into a pre-established depth residual convolutional quantization network for image processing for processing, and obtain the target category and location corresponding to the image data, and the category of pixels in the image;

[0061] Among them, the deep residual convolutional quantization network is trained based on the deep network adaptive half-precision quantization method, and the half-precision quantization uses half-digit floating-point numbers for quantization.

[0062] There can be many kinds of image processing here, such as image classification tasks, which are processed by quantization network to obtain the classification results of images; such as image detection tasks, which are processed by quant...

Embodiment 2

[0095] Based on the same inventive concept, the present invention also provides an image processing system for network adaptive semi-precision quantization. Since the principles of these devices to solve technical problems are similar to the image processing method for network adaptive semi-precision quantization, the repetition will not be repeated. .

[0096] The basic structure of the system is as Figure 8 As shown, it includes: a data acquisition module and an image processing module;

[0097] Data processing module for collecting image data of edge computing equipment;

[0098] The image processing module is used to input image data into a pre-established depth residual convolutional quantization network for image processing for processing, and obtain the target category and location corresponding to the image data, and the category of pixels in the image;

[0099] Among them, the deep residual convolutional quantization network is trained based on the deep network adaptive half...

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 provides a network adaptive semi-precision quantification image processing method and system. The method comprises the following steps: collecting image data of edge computing equipment;inputting the image data into a pre-established depth residual convolution quantization network for image processing for processing to obtain the category of a target corresponding to the image data,positioning and the category of pixels in the image; wherein the deep residual convolutional quantization network is obtained by training based on a deep network adaptive semi-precision quantizationmethod, and the semi-precision quantization is carried out by adopting a floating-point number with a half digit. Semi-precision adaptive quantization is carried out on the deep residual convolution quantization network, the size of the deep residual convolution quantization network can be reduced on the premise that the precision is guaranteed, and the requirement for computing resources is lowered.

Description

Technical field [0001] The invention belongs to the technical field of digital image processing and computer vision, and specifically relates to an image processing method and system for network adaptive semi-precision quantization. Background technique [0002] With the development of deep learning, convolutional neural networks have been widely used in the field of target detection. In order to ensure the accuracy of target detection, target detection models based on convolutional neural networks are becoming more and more complex, which makes the parameter of the model increase exponentially, which not only increases the model storage space, but also increases the computational cost accordingly. This makes the current high-precision target detection models unable to be deployed on edge devices with limited resources. The quantization method can convert the 32-bit single-precision floating-point number operation used by the deep learning model into a low-bit depth numerical ty...

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/00G06K9/62G06T7/70G06N3/04G06N3/08
CPCG06T7/70G06N3/08G06T2207/20084G06T2207/20081G06V20/00G06V2201/07G06N3/044G06N3/045G06F18/24
Inventor 孙显刁文辉陈凯强闫志远冯瑛超曹志颖马益杭赵良瑾
Owner AEROSPACE INFORMATION RES INST CAS
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
Try Eureka
PatSnap group products