Target detection model training method and device based on deep learning and storage medium

A technology for target detection and model training, applied in the field of deep learning target detection, can solve problems such as low confidence and wrong category labeling, achieve good performance, and improve accuracy and recall.

Pending Publication Date: 2020-10-16
DONGGUAN ZHENGYANG ELECTRONICS MECHANICAL
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, there will be some mislabeled categories
When using the classification loss function to calculate the classification loss, the classification loss function only maximizes one category an

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
  • Target detection model training method and device based on deep learning and storage medium
  • Target detection model training method and device based on deep learning and storage medium
  • Target detection model training method and device based on deep learning and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0027] Example one:

[0028] First, refer to figure 1 Describe the deep learning-based target detection model training method of the present invention. Such as figure 1 As shown, the training method of the target detection model based on deep learning includes the following steps:

[0029] S101: Perform a test on training images containing target annotations to obtain targets contained in each training image. Specifically, when testing training images containing target annotations, you can use external public data sets (such as COCO data sets, etc.) to test the training images; or directly input the training images to the trained target detection In the model, the training image is tested through the target detection model. At this time, the confidence threshold will be set lower to reduce the possibility of missing certain targets. Specifically, the threshold can be set according to the recall rate of the algorithm, such as the confidence level corresponding to the recall rate o...

Example Embodiment

[0036] Embodiment two:

[0037] When training the target detection model, it is necessary to calculate the true value (background or a certain category) of each position in the training image. In the anchor-based algorithm, it is usually to calculate the intersection of the bounding box (anchor) of the target label and the prediction box (Intersection over Union, iou), if iou is greater than a preset threshold, it is set as a positive sample, otherwise it is Negative sample. Due to the influence of the target's translation and size, the iou of some targets and anchors may be smaller than the preset threshold. If the positive and negative samples are divided directly according to the iou, the positive samples will be missed. In the anchor-free algorithm, when it is judged that the size of the target is within the scale range of the network of this layer, and the characteristic point in the bounding box of the target label is found, the characteristic point is set to a certain cla...

Example Embodiment

[0042] Example three:

[0043] In this embodiment, a further design is made on the basis of the second embodiment, which takes into account the similarity of the categories when calculating the classification loss of the positive samples. For example, when the target is a pedestrian, the probability that the cyclist will be judged as the background will be lower.

[0044] Specifically, first, set the similarity matrix of each category, the value of each element of the main diagonal in the similarity matrix is ​​1, and the other elements are based on the category similarity in the interval [0,1], the categories are similar The greater the degree, the smaller the value of the element to reduce the mutual influence between the elements. Then, the classification loss of each category is calculated for each feature point, and finally the products are multiplied with the similarity matrix and added to obtain the classification loss of the positive sample. For example, the similarity ma...

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 target detection model training method based on deep learning, and the method comprises the steps of testing training images containing target marks, and obtaining a target contained in each training image; comparing the target with the target label to obtain an unlabeled target and a labeled target contained in each training image; obtaining a total loss value accordingto the loss of the labeled targets and the classification loss of the unlabeled targets; and adjusting network parameters of the target detection model according to the total loss value. According tothe invention, the unlabeled targets in the training images are found out, then the classification loss of the unlabeled targets is calculated, other losses of the unlabeled targets are ignored, the trained target detection model has better performance, and the accuracy and recall rate of target detection are improved. In addition, the invention further discloses an electronic device and a computer readable storage medium.

Description

technical field [0001] The present invention relates to the technical field of deep learning target detection, in particular to a deep learning-based target detection model training method, electronic equipment, and a computer-readable storage medium. Background technique [0002] With the rapid development of deep learning technology, the integrated target detection method based on deep learning has also replaced the traditional feature extraction + feature classification target detection method, which has been widely used in many fields. Since the target detection algorithm based on deep learning has the characteristics of high recall rate and low false detection rate, and it can be processed in real time after network structure optimization on a special hardware platform. In the car collision warning system, the target detection method based on deep learning is also applied to detect the target vehicle to judge the possibility of collision between the target vehicle and t...

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/62G06N3/04G06N3/08
CPCG06N3/08G06V2201/08G06V2201/07G06N3/047G06N3/045G06F18/241G06F18/2415
Inventor 顾一新
Owner DONGGUAN ZHENGYANG ELECTRONICS MECHANICAL
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