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

Optimization method and device of convolutional neural network (CNN) and computer storage medium

A technology of convolutional neural network and optimization method, applied in the field of device and computer storage medium, optimization method of convolutional neural network, can solve the problems of increasing consumption time, increasing calculation cost, etc.

Active Publication Date: 2018-05-08
MIDEA GRP CO LTD
View PDF5 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since this scheme sets a deep neural network layer and needs to perform full convolution processing on the entire image during the detection process, the detection accuracy of this scheme is high, but at the same time it increases the calculation cost, which also increases the calculation cost of the scheme. time spent during detection

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
  • Optimization method and device of convolutional neural network (CNN) and computer storage medium
  • Optimization method and device of convolutional neural network (CNN) and computer storage medium
  • Optimization method and device of convolutional neural network (CNN) and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] see figure 1 , which shows an optimization method of a convolutional neural network CNN provided by an embodiment of the present invention, the method may include:

[0048] S101: Construct a convolutional neural network, the convolutional neural network includes at least four network layers: an image input layer, at least one convolutional layer, at least one pooling layer, and at least one fully connected layer;

[0049] It should be noted that the technical solution provided by the embodiment of the present invention is optimized for the existing convolutional neural network CNN, so that the feature expression ability of the CNN model can be improved under the condition of limited computing power, and it can also be used in CNN Reduce computational consumption when detecting.

[0050] S102: When the number of objects to be detected is lower than a preset threshold, reduce the number of convolution kernels in the CNN;

[0051] It should be noted that through experime...

Embodiment 2

[0079] Based on the same technical idea of ​​the foregoing embodiments, see image 3 , which shows a CNN optimization device 30 provided by an embodiment of the present invention, which may include: a construction part 301, a first optimization part 302, a second optimization part 303, and a third optimization part 304; wherein,

[0080] The construction part 301 is configured to construct a convolutional neural network, and the convolutional neural network includes at least four network layers: an image input layer, at least one convolutional layer, at least one pooling layer, and at least one fully connected layer;

[0081] The first optimization part 302 is configured to reduce the number of convolution kernels in the CNN when the number of objects to be detected is lower than a preset threshold;

[0082] The second optimization part 303 is configured to divide the image input by the image input layer into at least one memory data segment stored in continuous memory accordi...

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 optimization method and device of a convolutional neural network (CNN) and a computer storage medium. The method includes: constructing the convolutional neural network, wherein the convolutional neural network includes at least four network layers of an image input layer, at least one convolutional layer, at least one pooling layer and at least one fully connected layer; decreasing the number of convolution kernels in the CNN when the number of to-be-detected objects is less than a preset threshold value; dividing an input image of the image inputlayer into at least one memory data segment, which is stored by utilizing continuous memory, according to a set border determination strategy, and utilizing a set continuous memory copy function to carry out data copying on each memory data segment; and merging original parameters in a batch normalization (BN) layer and parameters of the convolutional layer or the fully connected layer according to the set merging strategy, and using merged parameters as new parameters of the batch normalization layer, wherein the batch normalization layer is after the convolutional layer or the fully connected layer. Calculation consumption in carrying out detection through the CNN is reduced.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a convolutional neural network (CNN, Convolutional Neural Network) optimization method, device and computer storage medium. Background technique [0002] With the development of computer technology and signal processing technology, more and more home appliances can be controlled according to the user's voice or gesture in addition to the traditional button operation control. [0003] To control home appliances through gestures, it is necessary to detect objects such as hands. In the current related hand detection schemes, the hand detection scheme based on deep convolutional neural network (CNN, Convolutional NeuralNetwork) is usually adopted. Convolutional neural network for hand detection on first-view RGB images. Since this scheme sets a deep neural network layer and needs to perform full convolution processing on the entire image during the detection proces...

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/04
CPCG06N3/045
Inventor 周均扬王欣博阮志锋陈术义俞大海
Owner MIDEA GRP 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