Unlock instant, AI-driven research and patent intelligence for your innovation.

Neural network training and face detection method and device, equipment and storage medium

A neural network and training method technology, applied in the field of deep learning, can solve problems affecting the training efficiency of the neural network, slow training of the neural network, single optimization method of the neural network, etc.

Active Publication Date: 2020-03-31
BIGO TECH PTE LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Most of the existing neural network optimization methods use the learning rate and the result of the objective function to update the parameters. The learning rate of the optimization method determines the magnitude of the parameter update. The learning rate has a great influence on the training of the neural network. The existing neural network Usually, a single optimization method is used for training. While meeting certain requirements, it is easy to ignore other requirements
[0008] For example, the learning rate has an impact on the speed and generalization ability of the training neural network: if the learning rate is too small, the training speed of the neural network will be slow, resulting in a long training period and affecting the training efficiency of the neural network; if the learning rate is too large , it is likely to skip the optimal parameters, and the generalization ability of the neural network is poor

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 training and face detection method and device, equipment and storage medium
  • Neural network training and face detection method and device, equipment and storage medium
  • Neural network training and face detection method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0093] image 3 It is a flow chart of a neural network training method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where two or more optimization methods are used to train a neural network. This method can be implemented by a neural network training device. Execute, the training device of this neural network can be realized by software and / or hardware, can be configured in computer equipment, for example, server, workstation, personal computer, etc., this method specifically comprises the following steps:

[0094] S301. Determine the neural network.

[0095] Neural network, also known as Artificial Neural Networks (ANN), is an algorithmic mathematical model that imitates the behavior characteristics of animal neural networks and performs distributed parallel information processing.

[0096] According to performance, neural networks can be divided into continuous network and discrete network, or deterministic network and ra...

Embodiment 2

[0145] Figure 4 It is a flow chart of a neural network training method provided by Embodiment 2 of the present invention. This embodiment further refines the mapping between the first learning rate and the second learning rate, and the second learning rate is based on the foregoing embodiments. Convergence and other operations, the method specifically includes the following steps:

[0146] S401. Determine the neural network.

[0147] S402. Train the neural network with a first learning rate according to a first optimization manner.

[0148] Wherein, the first learning rate is updated each time the neural network is trained.

[0149] S403. Determine the update range.

[0150] Among them, the update range represents the magnitude of updating the first network parameters when training the neural network with the first learning rate according to the first optimization method, and the first network parameter represents the training neural network with the first learning rate ac...

Embodiment 3

[0210] Figure 5 It is a flow chart of a face detection method provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation of face detection using two or more neural networks trained by optimization methods. The training device of the neural network It can be implemented by software and / or hardware, and can be configured in a computer device, such as a personal computer, a mobile terminal (such as a mobile phone, a tablet computer, etc.), a wearable device (such as a smart watch, smart glasses, etc.), etc., the method Specifically include the following steps:

[0211] S501. Receive image data.

[0212] In a specific implementation, the operating system of the computer device may include Android (Android), IOS, Windows, and the like.

[0213] These operating systems support running applications that can perform image processing, such as short video applications, live broadcast applications, image editing applications, camera applications,...

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 a neural network training and face detection method and device, equipment and a storage medium. The training method comprises the steps of determining a neural network; according to a first optimization mode, training the neural network at a first learning rate, wherein the first learning rate is updated when the neural network is trained each time; mapping the first learning rate of the first optimization mode into a second learning rate of a second optimization mode in the same vector space; determining that the second learning rate meets a preset updating condition; and continuing to train the neural network at the second learning rate according to a second optimization mode. According to the embodiment, through the mapping of the learning ratein the same vector space, the neural network can be trained by switching the appropriate optimization modes in different stages, the advantages of the appropriate optimization modes can be exerted indifferent stages, the problems generated by other optimization modes are reduced or avoided, and the requirements of two or two aspects for training the neural network are met at the same time.

Description

technical field [0001] Embodiments of the present invention relate to deep learning technologies, and in particular to a neural network training and face detection method, device, device, and storage medium. Background technique [0002] At present, deep learning methods based on neural networks have a wide range of applications in many fields such as computer vision, natural language processing, and text understanding, and these fields basically cover image and video processing, speech processing, and text processing required by current Internet applications. technology. [0003] Deep learning uses the neural network as a data feature extraction tool, trains the parameters in the neural network through a large number of samples, and fits the labels of the samples, such as types, so as to have the predictive ability in scenarios similar to the sample distribution. [0004] In general, users set learning goals, such as labels for classification, location and size of label bo...

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): G06N3/04G06N3/08G06K9/00
CPCG06N3/08G06V40/16G06N3/045G06V10/82G06N3/0464G06N3/0442G06N3/0985G06N3/044G06V10/7747G06V40/161G06V10/776
Inventor 项伟裴超
Owner BIGO TECH PTE LTD