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

YOLOv4 target detection algorithm for improving loss function

A target detection algorithm and loss function technology, applied in the field of image recognition, can solve problems such as inability to carry out gradient backhaul, unfavorable model training stability, and slow convergence.

Pending Publication Date: 2022-05-10
XIDIAN UNIV +1
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

IoU_Loss uses the intersection-over-union ratio (IoU) as the loss function, but gradient return cannot be performed when the two frames do not intersect, and when the two frames overlap in different areas, the degree of overlap cannot be distinguished; in view of the above shortcomings, GIoU_Loss is proposed, and two frames are introduced The minimum cover area, but when the real frame completely contains the predicted frame, it will degenerate into IoU_Loss to slow down the convergence; in order to further improve the regression accuracy, DIoU_Loss is proposed, and the Euclidean distance between the center points of the two frames is introduced; on this basis, the predicted Considering the aspect ratio of the box to the real box, CIoU_Loss is proposed
However, when the CIoU_Loss loss function deals with small targets, the regression loss is also large when the target aspect ratio changes greatly, which is not conducive to the stability of model training.

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
  • YOLOv4 target detection algorithm for improving loss function
  • YOLOv4 target detection algorithm for improving loss function
  • YOLOv4 target detection algorithm for improving loss function

Examples

Experimental program
Comparison scheme
Effect test

example

[0121] The present invention uses the original YOLOv4 as a comparison, and the training data set and the test data set are both from the general data set tt100k and LISA, so as to verify the universality of the algorithm to different data sets.

[0122] Figure 8 It is the detection effect diagram of some test pictures in the original YOLOv4 model and the improved YOLOv4 model in the data set, where (a) and (b) are the detection pictures when the tilt angle is small, and (c) and (d) are the tilt angle When the detection picture is slightly larger, the two pictures (e) and (f) are the detection pictures when the tilt angle is larger, and the three pictures (a), (c), and (e) are the detection results of the original YOLOv4 model, (b ), (d), (f) are the detection results of the improved YOLOv4 model. The test results show that when the inclination angle is small, both the original YOLOv4 model and the improved YOLOv4 model correctly identify the target object, as shown in (a) an...

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 provides a YOLOv4 target detection algorithm for improving a loss function, a position regression loss function CIoULoss in a standard YOLOv4 model is improved, a novel loss function SCIoU is provided and embedded into YOLOv4, and performance improvement is achieved. The method comprises the following steps: firstly, downloading a general data set tt100k and LISA in a current target detection field, and performing data enhancement; secondly, training the two enhanced general data sets by using a standard YOLOv4 network and detecting the performance of the two enhanced general data sets; secondly, for a position regression loss function CIoULoss in the standard YOLOv4 model, providing an improved loss function SCIoU, and embedding the improved loss function SCIoU into the YOLOv4 model for training; and finally, comparing with a standard YOLOv4 algorithm, and analyzing a test result. The invention provides an improved YOLOv4 algorithm based on SCIoU, which comprises the following steps of: improving a length-width ratio measurement index vs, and replacing an arctan function with a Sigmoid function; according to the improved YOLOv4 algorithm, the algorithm is embedded into the YOLOv4, the performance is improved, no more calculation amount is introduced into the model, the real-time performance is not affected, and the improved YOLOv4 algorithm is good in robustness and can be used for improving the performance of multiple data sets.

Description

technical field [0001] The invention belongs to the field of image recognition, and in particular relates to a YOLOv4 target detection algorithm with an improved loss function, which shows good detection performance on common standard data sets. Background technique [0002] With the continuous development of computer technology, computer vision and target detection have become popular directions. Target detection can be used to identify and locate specific objects, and it has broad development prospects in driving assistance systems and military early warning systems. Target detection technology includes traditional target detection technology and deep learning-based target detection technology, and the latter has become the mainstream algorithm in the current target detection field because it is superior to the former in terms of performance and complexity. [0003] The target detection technology based on deep learning is mainly divided into two methods, one-stage and tw...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06V20/58G06V10/44G06V10/764G06V10/80G06V10/82G06K9/62G06N3/04G06N3/08
CPCG06N3/08G06N3/047G06N3/048G06N3/045G06F18/2415G06F18/241G06F18/253
Inventor 王立哲王兰美王桂宝廖桂生贾建科孙长征
Owner XIDIAN UNIV