使用3-3 shaftData文件夹中损伤数据文件进行训练,输出对检测模型评估的关键数据,实验环境如下深度学习开源框架 Pytorch、Windows 10、Python 3.9、Intel Xeon Gold 6230R 处理器和具有16 GB内存的NVIDIA Quadro RTX5000图形处理单元(GPU);通过各类关键数据可以评估模型训练是否存在欠拟合或过拟合现象,通过各类整体平均精度对yolov5单阶段损伤检测模型在赋予双向加权结构后的性能进行综合评估。
由于内容大同小异,以yolov5_BiFPN文件夹作为示例
1、 yolov5_BiFPN
(1) confusion_matrix.png为模型混淆矩阵,横坐标为损失目标真实标签类别,纵坐标为损失目标在检测模型中预测的类别,矩阵中方块的颜色深浅代表模型输出损伤预测结果的准确性
(2) F1_curve.png为各类别及总体的F1评分,F1评分通过模型精度和召回率计算的来,能够较为客观的评价模型的预测效果
(3) P_curve.png、R_curve.png、PR_curve.png分别为精度、召回率曲线,PR_curve的曲线与坐标轴所包络的面积为各类型损伤的整体平均精度
(4) results.cvs为模型训练过程中输出的每个循环的数据参数
(5) results.png为模型训练过程中输出的每个循环的数据参数所拟合的曲线
Use the damage data files in the 3-3 shaftData folder for training, and output the key data for the evaluation of the detection model. The experimental environment is as follows: deep learning open source framework Pytorch, Windows 10, Python 3.9, Intel Xeon Gold 6230R processor, and NVIDIA Quadro RTX5000 graphics processing unit (GPU) with 16 GB memory; All kinds of key data can be used to evaluate whether there is underfitting or overfitting phenomenon in model training, and the performance of yolov5 single-stage damage detection model with bidirectional weighted structure can be comprehensively evaluated by various kinds of overall average accuracy.
Since the contents are much the same, take the yolov5_BiFPN folder as an example
1
png is the confusion_matrix. PNG is the model confusion matrix, and the horizontal coordinate is the category of the real label of the loss target, and the vertical coordinate is the category predicted by the loss target in the detection model. The color depth of the Chinese block in the matrix represents the accuracy of the model output damage prediction results
(2) F1_curve.png is the F1 score of each category and the whole. The F1 score is calculated by model accuracy and recall rate, which can objectively evaluate the prediction effect of the model
png, R_curve.png and PR_curve.png are accuracy and recall rate curves, respectively. The area enclosed by the curve of PR_curve and coordinate axis is the overall average accuracy of each type of damage
(4) results.cvs is the data parameter of each cycle output during model training
(5) results.png is the curve fitted by the data parameters of each cycle output during model training