Training method and training device of convolutional neural network model

A convolutional neural network and model technology, applied in the field of image recognition, can solve problems such as limited scope of application, and achieve a wide range of applications.

Active Publication Date: 2016-11-23
HUAZHONG UNIV OF SCI & TECH +1
View PDF3 Cites 59 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Since in the process of training the CNN model, it is necessary to obtain the fixed height and fixed width of the area to be processed from the pre-selected training images, therefore, the trained

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
  • Training method and training device of convolutional neural network model
  • Training method and training device of convolutional neural network model
  • Training method and training device of convolutional neural network model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0041] figure 1 It is a flowchart of a CNN model training method provided by an embodiment of the present invention. Such as figure 1 As shown, the method flow provided by the embodiment of the present invention includes:

[0042] 101: Obtain the initial model parameters of the CNN model to be trained, where the initial model parameters include the initial convolution kernels of the convolutional layers at all levels, the initial bias matrices of the convolutional layers at all levels, the initial weight matrix of the fully connected layer and the fully connected The initial bias vector for the layer.

[0043] 102: Acquire multiple training images.

[0044] In another embodiment, a plurality of training images are obtained, includi...

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 discloses a training method and a training device of a convolutional neural network (CNN) model, and belongs to the field of image recognition. The training method comprises the steps of respectively carrying out a convolution operation, a maximum pooling operation and a horizontal pooling operation on a training image so as to acquire a second feature image; determining a feature vector according to the second feature image; carrying out processing on the feature vector so as to acquire a category probability vector; calculating a category error according to the category probability vector and the initial category; adjusting model parameters based on the category error; and continuing the model parameter adjusting process based on the adjusted model parameters, and using model parameters at the moment when the number of iterations reaches a preset number of times as model parameters of the well trained CNN model. According to the invention, the convolution operation and the maximum pooling operation are carried out on the training image on different levels of convolution layers, and then the horizontal pooling operation is carried out. The horizontal pooling operation can extract a feature image marking a horizontal direction feature of the image from the feature image, so that the well trained CNN model is ensured to recognize images of any size, and the application range of the well trained CNN model in image recognition is expanded.

Description

technical field [0001] The invention relates to the field of image recognition, in particular to a training method and device for a convolutional neural network model. Background technique [0002] In the field of image recognition, a CNN (Convolutional Neural Network, Convolutional Neural Network) model is often used to determine the category of the image to be recognized. Before using the CNN model to identify the category of the image to be recognized, the CNN model needs to be trained first. [0003] When training a CNN model, it is usually implemented in the following way: First, initialize the model parameters of the CNN model to be trained, which include the initial convolution kernel of each convolutional layer, the initial bias matrix of each convolutional layer, and the fully connected layer The initial weight matrix of and the initial bias vector of the fully connected layer. Next, from each pre-selected training image, a region to be processed with a fixed heig...

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
IPC IPC(8): G06K9/66G06V10/32G06V10/764G06V10/774
CPCG06V10/32G06V10/82G06V10/764G06V10/774G06F18/2413G06N3/084G06T2207/20081G06T2207/20084G06V10/469G06V30/194G06F18/214G06F18/24
Inventor 白翔黄飞跃郭晓威姚聪石葆光
Owner HUAZHONG UNIV OF SCI & TECH
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