Training method of convolutional neural network (CNN) and face identification method and device

A convolutional neural network and training method technology, applied in the field of convolutional neural network training methods, face recognition methods and devices, can solve problems such as hindering supervised learning, increasing the burden of CNN, and uncontrolled convergence.

Active Publication Date: 2018-06-19
ZHEJIANG DAHUA TECH CO LTD
View PDF11 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since this contrastive loss function only controls the convergence of the negative sample pairs in the sample set by a single threshold to train the CNN, it does not control the convergence of the positive sample pairs in the sample set
Since there are a large number of positive sample pairs that are easy to converge in the samp

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 of convolutional neural network (CNN) and face identification method and device
  • Training method of convolutional neural network (CNN) and face identification method and device
  • Training method of convolutional neural network (CNN) and face identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0131] The training method of the convolutional neural network provided by the embodiment of the present invention may include the following steps:

[0132] (1) Select N images from the preset source domain face image set as the source domain training sample set of the smallest block, and collect the images in the source domain training sample set to form a sample pair.

[0133] Specifically, the source domain training sample set of the smallest block includes N images. Randomly select two images from the training sample set in the source domain and combine them, we can get sample pairs; among them, the obtained A sample pair can include: positive sample pairs with pair of negative samples.

[0134] (2) Input the source domain training sample set into the convolutional neural network, and obtain the feature vectors of the face images in each sample in the source domain training sample set.

[0135] Specifically, the method of extracting the feature vector of the face ...

Embodiment 2

[0172] The training method of the convolutional neural network provided by the embodiment of the present invention may include the following steps:

[0173] (1) Select N images from the preset source domain face image set as the source domain training sample set of the smallest block, and collect the images in the source domain training sample set to form a sample pair. And, select M images from the preset target domain face image set as the minimum block target domain training sample set, and collect the images in the target domain training sample set to form a sample pair.

[0174] Specifically, the source domain training sample set of the smallest block includes N images. Randomly select two images from the training sample set in the source domain and combine them, we can get sample pairs; among them, the obtained A sample pair can include: positive sample pairs with pair of negative samples.

[0175] The minimum block set of target domain training samples includes...

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 invention discloses a training method of a convolutional neural network and a face identification method and device. The training method is characterized by determining a first error by adopting a first joint training supervision function composed of a cross-entropy loss function and a comparison loss function after the normalization and having two threshold values and according to thecharacteristic vectors of the face images in the samples of a source domain training sample set, and adjusting the network parameters of the convolutional neural network via the first error, whereinthe first threshold value is used to compare with the Euclidean distance of the characteristic vectors of the two face images in a positive sample pair, and the second threshold value is used to compare with the Euclidean distance of the characteristic vectors of the two face images in a negative sample pair, so that the supervised training of the negative sample pair can be controlled, and the supervised training of the positive sample pair also can be controlled, and the training efficiency and the accuracy of the CNN are improved, and accordingly, the generalization ability of the face identification method can be improved when the trained CNN is applied to the face identification method.

Description

technical field [0001] The present invention relates to the technical field of deep learning, in particular to a training method of a convolutional neural network, a face recognition method and a device. Background technique [0002] At present, in order to better recognize face images, more and more recognition processes need to use Convolutional Neural Network (CNN). In order to ensure accurate recognition results, CNN needs to be trained repeatedly. At present, the contrastive loss function (Contrastive Loss) with a single threshold is generally used to train CNN. However, since this contrastive loss function only controls the convergence of the negative sample pairs in the sample set by a single threshold to train the CNN, it does not control the convergence of the positive sample pairs in the sample set. Since there are a large number of positive sample pairs that are easy to converge in the sample set, and these positive sample pairs are not supervised for training, ...

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/00G06N3/04G06N3/08
CPCG06N3/08G06V40/168G06N3/045
Inventor 郝敬松
Owner ZHEJIANG DAHUA TECH 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
Try Eureka
PatSnap group products