A YOLOv7 hot-rolled strip surface defect detection method based on attention mechanism

By introducing the attention mechanism and group convolution processing into the YOLOv7 network, the problems of low detection accuracy and insufficient real-time performance in hot-rolled strip surface defect detection are solved, high-speed and accurate defect detection is achieved, and industrial production efficiency is improved.

CN116402763BActive Publication Date: 2024-09-06SOUTHWEST PETROLEUM UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310252048.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-16
Publication Date
2024-09-06
Estimated Expiration
2043-03-16

AI Technical Summary

Technical Problem

The existing technology has low detection accuracy in hot-rolled strip surface defect detection, high missed detection rate of small targets, and insufficient network real-time performance, which cannot meet the rapid detection needs of modern hot-rolled strip production.

Method used

The attention mechanism is introduced into the YOLOv7 network, the number of model parameters is reduced through group convolution processing, and a multi-scale fusion lightweight attention module is added to the feature extraction network to improve the model's expression ability and recognition accuracy.

Benefits of technology

It achieves high-speed and accurate strip surface defect detection, improves the detection accuracy and efficiency of small targets, avoids missed detections and false detections, and improves industrial production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116402763B
    Figure CN116402763B
Patent Text Reader

Abstract

The present invention discloses a YOLOv7 hot-rolled strip surface defect detection method that introduces an attention mechanism. By analyzing the problems that traditional image processing methods are heavily dependent on the environment and have weak generalization capabilities, as well as the low recognition efficiency of existing target detection methods, the modules in the network are grouped and convoluted to reduce the number of model parameters and improve the running speed. A method based on the combination of an attention mechanism and a YOLOv7 network is proposed. By introducing a multi-scale fusion lightweight attention module into the feature extraction network of the YOLOv7 network, the feature extraction network has a global receptive field, the expression ability of the entire model is improved, and the recognition accuracy is increased. The existing strip surface defect detection system has high precision but slow speed or high speed but low precision, and the problems of high speed and low precision are solved. Compared with the original YOLOv7 network model, the improved YOLOv7 network model has improved the accuracy by 4.34% and reduced the number of parameters by 11%.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to target detection technology in the field of computer technology, and specifically relates to a YOLOv7 hot-rolled strip surface defect detection method that introduces an attention mechanism. Background Art

[0002] As one of the important steel products, hot-rolled strip is the foundation of industrial development and plays an important role in my country's economic development. In the process of hot-rolled strip production, due to factors such as on-site process and material properties, different types of surface defects will occur on the surface of hot-rolled strip, and surface defects will reduce the mechanical properties and corrosion resistance of the strip, and also lead to the corresponding product performance degradation. Early defect recognition algorithms have poor detection capabilities for small target surface defects, such as cracks, pits and other detailed defects. In modern hot-rolled strip production, the annual output of hot-rolled strip can reach 65.7805 million tons, and the rolling speed of steel strips ranges from a minimum of 3m / s to 18m / s. Therefore, higher requirements are placed on the accuracy and speed of hot-rolled strip surface defect detection. Early defect recognition algorithms have gradually failed to meet the current needs of hot-rolled strip surface defect detection. With the widespread application of CCD (Charge Coupled Device) cameras and the development of various machine learning methods, the detection method based on hot-rolled strip surface defect images has become a research hotspot in the field of hot-rolled strip surface defect detection.

[0003] In view of the real-time and easy-to-implement intelligent characteristics of deep learning, the method of using convolutional neural networks such as RCNN and SSD to detect surface defect images of hot-rolled strip steel has become popular. Reference 1 (Shiyang Zhou, Youping Chen, et al. Classification of Surface Defects of Steel Sheet Using Rectified Convolutional Neural Networks [A]. Wuhan University of Technology. Proceedings of the 2015 International Forum on Internet of Things and Its Applications [C]. Wuhan University of Technology: School of Science, Wuhan University of Technology, 2015: 3.) proposed a defect feature learning method from low pixels to high pixels for strip defect classification, but the process of this method is complicated and does not meet the real-time requirements of defect detection. Reference 2 (LIU Y, XU K, XU J W. Periodic surface defect detection in steel plates based on deep learning [J]. Applied Sciences, 2019, 9 (15), 3127.) proposed a defect detection method based on convolutional neural network and long short-term memory, but it only targets rolling mark defects on hot-rolled steel plates and has great limitations. Patent 1 (Li Weigang, Ye Xin, Zhao Yuntao. A hot-rolled strip surface defect detection method based on deep learning [P]. Chinese patent: CN110660052A, 2020.01.07) improves the accuracy of hot-rolled strip surface defect detection by adding a feature extraction layer, and Patent 2 (Zhou Youxing, Pan Heng, Yang Pei, Zhai Minglong. A steel plate surface defect detection method based on a tiny defect YOLO network [P]. Chinese patent: CN115205193A, 2022.10.18) improves the accuracy of hot-rolled strip surface defect detection by adding a small target detection layer. Both methods will increase the number of parameters, which is not conducive to the real-time performance of the network. In view of the above problems, this paper proposes a YOLOv7 hot-rolled strip surface defect detection method that introduces an attention mechanism. The algorithm has the advantages of fast recognition speed, high detection accuracy and low dependence on the environment. Summary of the invention

[0004] The purpose of this invention is to improve the modules in the network and combine the attention mechanism with the target detection technology to form a more complete and effective detection method, thereby improving industrial production efficiency.

[0005] The present invention overcomes the shortcomings of the prior art and provides a YOLOv7 hot-rolled strip surface defect detection method that introduces an attention mechanism. By analyzing the problems that traditional image processing methods are heavily dependent on the environment and have weak generalization capabilities, as well as the low recognition efficiency of existing target detection methods, the modules in the network are grouped and convoluted to reduce the number of model parameters and improve the running speed; a method based on the combination of an attention mechanism and a YOLOv7 network is proposed, and a multi-scale fusion lightweight attention module is introduced into the feature extraction network of the YOLOv7 network to enable the feature extraction network to have a global receptive field, thereby improving the expression ability of the entire model and increasing the recognition accuracy. The existing strip surface defect detection system solves the problems of high precision but slow speed or high speed but low precision.

[0006] In order to solve the above-mentioned technical problems, the present invention proposes the following technical solution: a YOLOv7 hot-rolled strip surface defect detection method introducing an attention mechanism, which comprises the following steps:

[0007] S1. Construct a data set with labeled surface defects of the strip to be detected;

[0008] S2. Replace the YOLOv7 neck network module SPPCSP with SPPCSPC-Group, group the convolutions therein, reduce the number of module parameters and calculations, and build a lightweight detection model;

[0009] S3. Add a lightweight attention module with added receptive field to the detection model;

[0010] S4. Iteratively train the detection model using the data set, and after convergence, select the detection model with the highest accuracy as the strip surface defect detection model;

[0011] Preferably, in step S1, an image of a steel surface defect detection dataset is obtained; the average grayscale value of the entire dataset is extracted, grayscale filling is performed around the image, and the pixel value is filled from 200*200 to 640*640; the labels in the dataset are adapted, and corresponding labels are generated according to the filling operation.

[0012] Preferably, in step S2, the SPPCSPC module includes a total of 7 convolutions in the CSP module and two branches in the SPP structure, and these 7 convolutions need to be convolved and grouped.

[0013] Preferably, in step S2, each convolution is divided into 4 groups to reduce the number of parameters.

[0014] Preferably, in step S3, a multi-scale fusion lightweight attention module is added between the backbone feature extraction network and Neck to ensure that the pre-trained weights of the backbone feature extraction network are used.

[0015] Preferably, adding a multi-scale fusion lightweight attention module is specifically as follows:

[0016] The three feature tensors of different sizes extracted by the backbone network are first input into the attention modules with different scales of receptive fields for feature fusion;

[0017] For the input feature X∈R C×H×W To group, the input X is split into G groups along the channel dimension: X = [X1,...,X G ],R C / G×H×W .

[0018] Feature X k Split into two branches along the channel dimension X k1 ,X k2 ∈R C / 2G×H×W , one branch is used to learn channel attention features, and the other branch is used to learn spatial attention features.

[0019] In terms of channel attention implementation, the simplest combination of GAP+Scale+Sigmoid is used. The process can be described as follows:

[0020]

[0021] X k ′1=σ(F C (s))·X k1 =σ(W1s+b1)·X k1 (2)

[0022] where W1∈R C / 2G×1×1 , b1∈R C / 2G×1×1 represents a learnable parameter.

[0023] In terms of spatial attention, GN is used to k2 Processing is performed to obtain statistical information at the spatial level, and then F C (·) is enhanced. The process can be described as follows:

[0024] X k ′2=σ(W2·GN(X k2 )+b2)·X k2 (3)

[0025] where W2∈R C / 2G×1×1 , b2∈R C / 2G×1×1 represents a learnable parameter.

[0026] The outputs of the spatial attention module and the channel attention module are feature fused to obtain the output of the entire attention module.

[0027] Preferably, after constructing the improved YOLOv7 model, the loss function of the YOLOv7 network is set, and the loss functions are respectively the positioning loss part, the target confidence loss part and the classification loss part. The positioning loss part uses the real box and the predicted box to calculate the CIOU loss function. The target confidence loss part calculates the cross entropy loss based on the prediction results of whether the positive and negative samples and feature points contain objects. The classification loss part calculates the cross entropy loss based on the prediction results of the type of the real box and the type of the prior box.

[0028] Preferably, the CIOU loss function is:

[0029]

[0030] where d o is the Euclidean distance between the center of the target box and the predicted box, d c is the diagonal distance of the target box, and v is a parameter to measure the consistency of aspect ratio, which is defined as:

[0031]

[0032] where w gt 、h gt is the width and height of the real target box, w p 、h p is the width and height of the prediction box.

[0033] Preferably, the cross entropy loss of the target confidence loss part and the classification loss part adopts BCEWithLogitsLoss, and the classification loss part is defined as:

[0034]

[0035] Among them, L Cls (O,C) represents the target classification loss, O ij Indicates whether the jth type of target actually exists in the predicted target bounding box i. If not, O ij =0, when present O ij =1, Represents the Sigmoid probability that the network predicts that there is a target of type j in the target bounding box i.

[0036] Preferably, the target confidence loss part is defined as:

[0037]

[0038] Among them, L Obj (O,C) represents the target offset loss, O i Indicates whether there is a real target in the predicted target bounding box i. If not, O i =0, when present O i=1, Represents the Sigmoid probability of predicting whether there is a target in the target rectangle i.

[0039] Preferably, in the boundary prediction network, convolution prediction is performed in the three feature maps respectively by (4+1+c)×k convolution kernels of size 1×1, k is the number of preset bounding boxes, c is the number of categories of the predicted target, wherein 4×k parameters are responsible for predicting the offset of the target bounding box, k parameters are responsible for predicting the probability of containing the target in the target bounding box, and c×k parameters are responsible for predicting the probability of the k preset bounding boxes corresponding to the c target categories.

[0040] Preferably, the commonly used model evaluation terms in target detection are TP (True Positives), FP (False Positives), FN (False Negatives), and TN (True Negatives), which respectively represent the number of true positives, false positives, false negatives, and correctly classified as negatives. P represents precision, and R represents recall, and the formula is as follows:

[0041]

[0042]

[0043] Preferably, the evaluation model needs to consider P and R comprehensively. In this case, the PR curve (P is the ordinate and R is the abscissa) is selected to represent the average precision AP (Average Precision). mAP refers to the average value of the average precision (AP) of multiple categories. The larger the value, the higher the overall detection accuracy of the model. The calculation formula is as follows:

[0044]

[0045]

[0046] Preferably, the model complexity adopts parameters (parameters, Params), and the specific calculation formula is as follows:

[0047] Params=C0×(k w ×k h ×C i +1) (12)

[0048] C0 represents the number of output channels, C i Indicates the input channel.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] In the present invention, the modules in the network are subjected to group convolution processing, the model parameters are reduced, the running speed is improved, and the detection speed is increased without affecting the accuracy.

[0051] By adding a lightweight attention module, the detection accuracy of the model is improved, especially the detection accuracy of small targets. The model with the highest accuracy is selected as the final model from the converged models, achieving high-speed and accurate strip surface defect detection.

[0052] (1) Compared with traditional algorithms, the present invention has a higher detection rate for small targets and can effectively avoid missed detections and false detections.

[0053] (2) Compared with traditional algorithms, the present invention has higher efficiency in defect detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification, but do not constitute a limitation of the present invention.

[0055] In the attached picture:

[0056] Figure 1 This is an overall flow chart of a YOLOv7 hot-rolled strip surface defect detection method that introduces an attention mechanism according to an embodiment of the present invention.

[0057] Figure 2 This is a lightweight SPPCSPC-Group structure diagram of an embodiment of the present invention.

[0058] Figure 3 This is a diagram of a multi-scale fusion lightweight attention module according to an embodiment of the present invention.

[0059] Figure 4 This is a structural diagram of the improved YOLOv7 model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0060] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0061] Example: As reference Figure 1 As shown, a YOLOv7 hot-rolled strip surface defect detection method introducing an attention mechanism includes the following steps:

[0062] S1. Constructing a data set of surface defects of steel strips: wherein, obtaining a data set image of steel surface defect detection; extracting the average grayscale value of the entire data set, performing grayscale filling around the image, and filling the pixel value from 200*200 to 640*640; adapting the labels in the data set, and generating corresponding labels according to the filling operation;

[0063] S2. Replace the YOLOv7 neck network module SPPCSP with SPPCSPC-Group, group the convolutions therein, reduce the number of module parameters and calculations, and build a lightweight detection model;

[0064] refer to Figure 2 As shown in the figure, in order to reduce the number of parameters and calculations without affecting the feature extraction performance, in the residual convolution part of the module, the SPP module includes 7 convolutions in the CSP module and the two branches in the SPP structure. These 7 convolutions are grouped and divided into 4 groups.

[0065] S3. In order to improve the detection accuracy of the model for small targets, a multi-scale fusion lightweight attention module is added to the detection model.

[0066] refer to Figure 3 As shown in the figure, adding a multi-scale fusion lightweight attention module is as follows:

[0067] The three feature tensors of different sizes extracted by the backbone network are first input into the attention modules with different scales of receptive fields for feature fusion;

[0068] For the input feature X∈R C×H×W To group, the input X is split into G groups along the channel dimension: X = [X1,...,X G ],R C / G×H×W .

[0069] Feature X k Split into two branches along the channel dimension X k1 ,X k2 ∈R C / 2G×H×W , one branch is used to learn channel attention features, and the other branch is used to learn spatial attention features.

[0070] In terms of channel attention implementation, the simplest combination of GAP+Scale+Sigmoid is used. The process can be described as follows:

[0071]

[0072] X′ k1 =σ(F C (s))·X k1 =σ(W1s+b1)·X k1 (14)

[0073] where W1∈R C / 2G×1×1 , b1∈R C / 2G×1×1 represents a learnable parameter.

[0074] In terms of spatial attention, GN is used tok2 Processing is performed to obtain statistical information at the spatial level, and then F C (·) is enhanced. The process can be described as follows:

[0075] X′ k2 =σ(W2·GN(X k2 )+b2)·X k2 (15)

[0076] where W2∈R C / 2G×1×1 , b2∈R C / 2G×1×1 represents a learnable parameter.

[0077] The outputs of the spatial attention module and the channel attention module are feature fused to obtain the output of the entire attention module.

[0078] Connecting the multi-scale fusion lightweight attention module in the YOLOv7 feature extraction network can effectively increase the feature extraction capability of the model and add the feature extraction of the attention module.

[0079] After building the improved YOLOv7 model, set the loss function of the YOLOv7 network. The loss functions are the positioning loss part, the target confidence loss part, and the classification loss part. The positioning loss part uses the real box and the predicted box to calculate the CIOU loss function. The target confidence loss part calculates the cross entropy loss based on the prediction results of whether the positive and negative samples and feature points contain objects. The classification loss part calculates the cross entropy loss based on the prediction results of the type of the real box and the type of the prior box.

[0080] The CIOU loss function is:

[0081]

[0082] where d o is the Euclidean distance between the center of the target box and the predicted box, d c is the diagonal distance of the target box, and v is a parameter to measure the consistency of aspect ratio, which is defined as:

[0083]

[0084] where w gt 、h gt is the width and height of the real target box, w p 、h p is the width and height of the prediction box.

[0085] The cross entropy loss of the target confidence loss part and the classification loss part adopts BCEWithLogitsLoss, and the classification loss part is defined as:

[0086]

[0087] Among them, L Cls (O,C) represents the target classification loss, O ij Indicates whether the jth type of target actually exists in the predicted target bounding box i. If not, O ij =0, when present O ij =1, Represents the Sigmoid probability that the network predicts that there is a target of type j in the target bounding box i.

[0088] The target confidence loss part is defined as:

[0089]

[0090] Among them, L Obj (O,C) represents the target offset loss, O i Indicates whether there is a real target in the predicted target bounding box i. If not, O i =0, when present O i =1, Represents the Sigmoid probability of predicting whether there is a target in the target rectangle i.

[0091] Specific implementation example: Use the NEU surface defect database of hot-rolled steel strip surface defects, which includes 6 types of defects: inclusion, scratches, rolled-in scale, cracks, pitted surface, and patches. There are 300 defect images of each type, a total of 1,800 steel plate surface defect images, and the image size is (200×200) px. Use data enhancement to enhance each type of image to 600, a total of 3,600 images, and then according to the ratio of 9:1 between the training set and the test set, 3,240 images are used as training samples and 360 images are used as test samples.

[0092] The experimental environment is Windows 10 operating system, the computer memory is 64GB, the processor type is i7-10700K, the graphics card is RTX3060, the video memory is 10GB, the deep learning framework used is pytorch1.8, and the programming language is python3.10.0.

[0093] In order to analyze the impact of the proposed improvements on the model performance, two groups of experiments were designed for analysis and comparison. Each group of experiments used the same dataset, training hyperparameters, and pre-training weights. This experiment was trained for a total of 100 cycles, with a learning rate of 0.01, an IOU threshold of 0.5, and an optimizer of Adam.

[0094] The commonly used model evaluation terms in target detection are TP (True Positives), FP (False Positives), FN (False Negatives), and TN (True Negatives), which represent the number of true positives, false positives, false negatives, and correctly classified negatives, respectively. P represents precision, and R represents recall. The formula is as follows:

[0095]

[0096]

[0097] The evaluation model needs to consider P and R comprehensively. At this time, the PR curve (P is the ordinate and R is the abscissa) is selected to represent the average precision AP (Average Precision). mAP refers to the average value of the average precision (AP) of multiple categories. The larger the value, the higher the overall detection accuracy of the model. The calculation formula is as follows:

[0098]

[0099]

[0100] The model complexity uses parameters (parameters, Params), and the specific calculation formula is as follows:

[0101] Params=C0×(k w ×k h ×C i +1) (24)

[0102] C0 represents the number of output channels, C i Indicates the input channel.

[0103] S4. After building the network model, iterative training is required. This experiment conducted 300 rounds of training. Compared with the original YOLOv7 network model, the improved YOLOv7 network model has improved its accuracy by 4.34% and reduced the number of parameters by 11%.

[0104] The comparative optimization effect of the improved YOLOv7 network is shown in the following table, where SPCG is the abbreviation of SPPCSPC-Group:

[0105]

[0106] The above is a description of the method of the present invention, and those skilled in the art can implement the method of the present invention based on the description of the content. Based on the above content of the present invention, other embodiments obtained by those skilled in the art without creative work should all fall within the scope of protection of the present invention.

Claims

1. A YOLOv7 hot-rolled strip surface defect detection method introducing an attention mechanism, characterized in that: The detection method comprises the following steps: S1. Construct a data set with labeled surface defects of the strip to be detected; S2. Replace the YOLOv7 neck network module SPPCSP with SPPCSPC-Group, group the convolutions therein, reduce the number of module parameters and calculations, and build a lightweight detection model; S3. In step S2, the SPPCSPC module includes 7 convolutions in total, including the CSP module and two branches in the SPP structure. These 7 convolutions need to be grouped and convolutionally divided into 4 groups for each convolution to reduce the number of parameters. S4, add the multi-scale fusion lightweight attention module to the detection model; S5. In step S4, the multi-scale fusion lightweight attention module is added between the backbone feature extraction network and Neck to ensure that the pre-trained weights of the backbone feature extraction network are used; S6. Adding a multi-scale fusion lightweight attention module: The three feature tensors of different sizes extracted by the backbone network are first input into the attention modules of different scale receptive fields for feature fusion, and the input feature X∈R C×H×W To group, the input X is split into G groups along the channel dimension: X = [X1,...,X G ],X∈R C / G×H×W ; Feature X k Split into two branches along the channel dimension X k1 ,X k2 ∈R C / 2G×H×W , one branch is used to learn channel attention features, and one branch is used to learn spatial attention features; in terms of channel attention implementation, the simplest combination of GAP+Scale+Sigmoid is used. The process can be described as follows: X′ k1 =σ(F C (s))·X k1 =σ(W1s+b1)·X k1 where W1∈R C / 2G×1×1 , b1∈R C / 2G×1×1 represents a learnable parameter; In terms of spatial attention, GN is used to k2 Processing is performed to obtain statistical information at the spatial level, and then F C (·) is enhanced, and the process can be described as follows: X′ k2 =σ(W2·GN(X k2 )+b2)·X k2 where W2∈R C / 2G×1×1 , b2∈R C / 2G×1×1 represents a learnable parameter; The outputs of the spatial attention module and the channel attention module are feature-fused to obtain the output of the entire attention module; S7. Use the data set to iteratively train the detection model, and after convergence, select the detection model with the highest accuracy as the strip surface defect detection model.

2. According to claim 1, a YOLOv7 hot-rolled strip surface defect detection method introducing an attention mechanism is characterized in that: In step S1, the image of the steel surface defect detection dataset is obtained; the average grayscale value of the entire dataset is extracted, and grayscale filling is performed around the image to fill the pixel value from 200*200 to 640*640; the labels in the dataset are adapted, and corresponding labels are generated according to the filling operation.

3. According to claim 1, a YOLOv7 hot-rolled strip surface defect detection method introducing an attention mechanism is characterized in that: After building the improved YOLOv7 model, set the loss function of the YOLOv7 network. The loss functions are positioning loss, target confidence loss and classification loss. The positioning loss uses the real box and the predicted box to calculate the CIOU loss function. The target confidence loss calculates the cross entropy loss based on the prediction results of whether the positive and negative samples and feature points contain objects. The classification loss calculates the cross entropy loss based on the prediction results of the type of the real box and the type of the prior box. S31, where the CIOU loss function is: where d o is the Euclidean distance between the center of the target box and the predicted box, d c is the diagonal distance of the target box, and v is a parameter to measure the consistency of aspect ratio, which is defined as: where w gt 、h gt is the width and height of the real target box, w p 、h p is the width and height of the prediction box; S32, target confidence loss part and classification loss part cross entropy loss adopt BCEWithLogitsLoss, and the classification loss part is defined as: Among them, L Cls (O,C) represents the target classification loss, O ij Indicates whether the jth type of target actually exists in the predicted target bounding box i. If not, O ij =0, when present O ij =1, Indicates the Sigmoid probability of the jth type of target in the network predicted target bounding box i; The target confidence loss part is defined as: Among them, L Obj (O, C) represents the target offset loss, Oi represents whether the target actually exists in the predicted target bounding box i, and Oi represents whether the target actually exists in the predicted target bounding box i. i =0, when present O i =1, Represents the Sigmoid probability of predicting whether there is a target in the target rectangular box i; S33. The commonly used model evaluation terms in target detection are TP (True Positives), FP (False Positives), FN (False Negatives), and TN (True Negatives), which respectively represent the number of true positives, false positives, false negatives, and correctly classified as negative examples. P represents precision, and R represents recall. The formula is as follows: The evaluation model needs to consider P and R comprehensively. At this time, the PR curve (P is the ordinate and R is the abscissa) is selected to represent the average precision AP (Average Precision); mAP refers to the average value of the average precision (AP) of multiple categories. The larger the value, the higher the overall detection accuracy of the model. The calculation formula is as follows: The model complexity uses parameters (parameters, Params), and the specific calculation formula is as follows: Params=C0×(k w ×k h ×C i +1) C0 represents the number of output channels, C i Indicates the input channel.

Citation Information

Cited By

  • Steel coil end face defect detection method and system based on CBAM-BiFPN and multi-loss optimization

    CN121147129A

  • Steel surface defect end-to-end detection method and system based on deep learning

    CN122550488A