Deep neural network training method and device, electronic equipment and storage medium
A technology of deep neural network and training method, which is applied in the field of deep neural network training method, electronic equipment and storage medium, and device, and can solve the problems of limited improvement of neural network classification or recognition results, so as to improve the importance and accuracy , to avoid misclassification effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0023] Example one
[0024] This embodiment discloses a deep neural network training method, such as figure 1 As shown, the method includes: step 110 and step 120.
[0025] Step 110: Obtain a number of training samples set with preset category labels.
[0026] Before training the neural network, it is necessary to obtain several training samples with preset category labels.
[0027] According to different specific application scenarios, the forms of training samples are different. For example, in the work clothes recognition application, the training sample is the work clothes image; in the live face detection application scenario, the training sample image collection device collects the live face image and the non-live face (such as face model, face Photo); In a voice recognition application scenario, the training sample is a piece of audio.
[0028] Depending on the output of the specific recognition task, the category labels of the training samples are different. Taking a neural n...
Example Embodiment
[0044] Example two
[0045] Based on the first embodiment, this embodiment discloses an optimization scheme of a deep neural network training method.
[0046] In specific implementation, after obtaining several training samples set with preset category labels, the neural network is first constructed. In this embodiment, ResNet50 (residual network) is still used as the basic network to construct a neural network, and the neural network includes multiple feature extraction layers. Through the forward propagation stage, the neural network calls the forward function of each feature extraction layer (such as the fully connected layer) in turn to obtain the layer-by-layer output. The last layer is compared with the objective function to obtain the loss function and calculate the error update value. Then, the first layer is reached layer by layer through backpropagation, and the ownership value is updated together at the end of backpropagation. The last feature extraction layer uses the...
Example Embodiment
[0061] Example three
[0062] The embodiment of the application also discloses a deep neural network training method, which is applied to classification applications. Such as image 3 As shown, the method includes: step 310 to step 370.
[0063] Step 310: Obtain a number of training samples set with preset category labels.
[0064] When the application is specifically implemented, the training sample includes any one of the following: image, text, and voice. For different objects to be classified, in the neural network model, it is necessary to obtain training samples of the objects to be classified. In this embodiment, taking the training of a neural network model for work clothes recognition as an example, first, obtain work clothes images set with different platform labels, such as: work clothes images set with Meituan takeaway platform labels, set with hungry Work clothes images with tags on the Mo platform, work clothes images with Baidu food delivery platform tags, etc.
[00...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap