ONNX 模型库
返回模型

说明文档

这些模型基于 deepghs/anime_head_detection 和开源的真实照片数据集训练。

因此同时支持动漫和真实照片。

配合 dghs-realutils 使用:

pip install dghs-realutils
from realutils.detect import detect_heads

print(detect_heads('yolo/solo.jpg'))
# [((162, 47, 305, 210), 'head', 0.7701659202575684)]
print(detect_heads('yolo/2girls.jpg'))
# [((683, 48, 1199, 754), 'head', 0.8410779237747192), ((105, 91, 570, 734), 'head', 0.8339194059371948)]
print(detect_heads('yolo/3+cosplay.jpg'))
# [((329, 194, 426, 309), 'head', 0.8123012781143188), ((359, 20, 448, 122), 'head', 0.8047150373458862), ((185, 81, 265, 166), 'head', 0.7797152996063232)]
print(detect_heads('yolo/multiple.jpg'))
# [((867, 259, 1084, 527), 'head', 0.8264595866203308), ((1364, 448, 1583, 724), 'head', 0.8254891633987427), ((480, 201, 781, 565), 'head', 0.8191508054733276), ((1189, 175, 1398, 412), 'head', 0.8097156286239624), ((1028, 671, 1277, 992), 'head', 0.8084591627120972)]

更多信息请参阅 realutils 文档

模型 类型 FLOPS 参数量 F1 分数 阈值 精确率(B) 召回率(B) mAP50(B) mAP50-95(B) F1 曲线 混淆矩阵 标签
head_detect_v0_l_yv11 yolo 87.3G 25.3M 0.81 0.199 0.90226 0.72872 0.81049 0.5109 曲线 混淆矩阵 head
head_detect_v0_m_yv11 yolo 68.2G 20.1M 0.8 0.206 0.89855 0.72654 0.80704 0.50804 曲线 混淆矩阵 head
head_detect_v0_s_yv11 yolo 21.5G 9.43M 0.78 0.187 0.88726 0.69234 0.77518 0.47825 曲线 混淆矩阵 head
head_detect_v0_n_yv11 yolo 6.44G 2.59M 0.74 0.14 0.87359 0.64011 0.73393 0.44118 曲线 混淆矩阵 head
head_detect_v0_l yolo 165G 43.6M 0.81 0.234 0.89921 0.74092 0.81715 0.51615 曲线 混淆矩阵 head
head_detect_v0_m yolo 79.1G 25.9M 0.8 0.228 0.90006 0.72646 0.80614 0.50586 曲线 混淆矩阵 head
head_detect_v0_s yolo 28.6G 11.1M 0.78 0.182 0.89224 0.69382 0.77804 0.48067 曲线 混淆矩阵 head
head_detect_v0_n yolo 8.19G 3.01M 0.74 0.172 0.8728 0.64823 0.73865 0.44501 曲线 混淆矩阵 head

deepghs/real_head_detection

作者 deepghs

object-detection dghs-imgutils
↓ 0 ♥ 1

创建时间: 2025-02-06 16:16:27+00:00

更新时间: 2025-02-20 11:19:58+00:00

在 Hugging Face 上查看

文件 (131)

.gitattributes
README.md
head_detect_v0_l/F1_curve.png
head_detect_v0_l/PR_curve.png
head_detect_v0_l/P_curve.png
head_detect_v0_l/R_curve.png
head_detect_v0_l/confusion_matrix.png
head_detect_v0_l/confusion_matrix_normalized.png
head_detect_v0_l/events.out.tfevents.1738807573.74aa4261331bbcab0987b94433af8ac622a654e7594a46e49f97167a.2673077.0
head_detect_v0_l/labels.jpg
head_detect_v0_l/labels.json
head_detect_v0_l/labels_correlogram.jpg
head_detect_v0_l/model.onnx ONNX
head_detect_v0_l/model.pt
head_detect_v0_l/model_type.json
head_detect_v0_l/results.csv
head_detect_v0_l/results.png
head_detect_v0_l/threshold.json
head_detect_v0_l_yv11/F1_curve.png
head_detect_v0_l_yv11/PR_curve.png
head_detect_v0_l_yv11/P_curve.png
head_detect_v0_l_yv11/R_curve.png
head_detect_v0_l_yv11/confusion_matrix.png
head_detect_v0_l_yv11/confusion_matrix_normalized.png
head_detect_v0_l_yv11/events.out.tfevents.1738833414.dbd7b05c6be69b3cad7adc4be45b0f3ae9bfa42b4e0c6f4f253fe7cb.4022117.0
head_detect_v0_l_yv11/labels.jpg
head_detect_v0_l_yv11/labels.json
head_detect_v0_l_yv11/labels_correlogram.jpg
head_detect_v0_l_yv11/model.onnx ONNX
head_detect_v0_l_yv11/model.pt
head_detect_v0_l_yv11/model_type.json
head_detect_v0_l_yv11/results.csv
head_detect_v0_l_yv11/results.png
head_detect_v0_l_yv11/threshold.json
head_detect_v0_m/F1_curve.png
head_detect_v0_m/PR_curve.png
head_detect_v0_m/P_curve.png
head_detect_v0_m/R_curve.png
head_detect_v0_m/confusion_matrix.png
head_detect_v0_m/confusion_matrix_normalized.png
head_detect_v0_m/events.out.tfevents.1738697544.74aa4261331bbcab0987b94433af8ac622a654e7594a46e49f97167a.832744.0
head_detect_v0_m/labels.jpg
head_detect_v0_m/labels.json
head_detect_v0_m/labels_correlogram.jpg
head_detect_v0_m/model.onnx ONNX
head_detect_v0_m/model.pt
head_detect_v0_m/model_type.json
head_detect_v0_m/results.csv
head_detect_v0_m/results.png
head_detect_v0_m/threshold.json
head_detect_v0_m_yv11/F1_curve.png
head_detect_v0_m_yv11/PR_curve.png
head_detect_v0_m_yv11/P_curve.png
head_detect_v0_m_yv11/R_curve.png
head_detect_v0_m_yv11/confusion_matrix.png
head_detect_v0_m_yv11/confusion_matrix_normalized.png
head_detect_v0_m_yv11/events.out.tfevents.1738801529.dbd7b05c6be69b3cad7adc4be45b0f3ae9bfa42b4e0c6f4f253fe7cb.3511507.0
head_detect_v0_m_yv11/labels.jpg
head_detect_v0_m_yv11/labels.json
head_detect_v0_m_yv11/labels_correlogram.jpg
head_detect_v0_m_yv11/model.onnx ONNX
head_detect_v0_m_yv11/model.pt
head_detect_v0_m_yv11/model_type.json
head_detect_v0_m_yv11/results.csv
head_detect_v0_m_yv11/results.png
head_detect_v0_m_yv11/threshold.json
head_detect_v0_n/F1_curve.png
head_detect_v0_n/PR_curve.png
head_detect_v0_n/P_curve.png
head_detect_v0_n/R_curve.png
head_detect_v0_n/confusion_matrix.png
head_detect_v0_n/confusion_matrix_normalized.png
head_detect_v0_n/events.out.tfevents.1738684051.74aa4261331bbcab0987b94433af8ac622a654e7594a46e49f97167a.610810.0
head_detect_v0_n/labels.jpg
head_detect_v0_n/labels.json
head_detect_v0_n/labels_correlogram.jpg
head_detect_v0_n/model.onnx ONNX
head_detect_v0_n/model.pt
head_detect_v0_n/model_type.json
head_detect_v0_n/results.csv
head_detect_v0_n/results.png
head_detect_v0_n/threshold.json
head_detect_v0_n_yv11/F1_curve.png
head_detect_v0_n_yv11/PR_curve.png
head_detect_v0_n_yv11/P_curve.png
head_detect_v0_n_yv11/R_curve.png
head_detect_v0_n_yv11/confusion_matrix.png
head_detect_v0_n_yv11/confusion_matrix_normalized.png
head_detect_v0_n_yv11/events.out.tfevents.1738685755.dbd7b05c6be69b3cad7adc4be45b0f3ae9bfa42b4e0c6f4f253fe7cb.1608928.0
head_detect_v0_n_yv11/labels.jpg
head_detect_v0_n_yv11/labels.json
head_detect_v0_n_yv11/labels_correlogram.jpg
head_detect_v0_n_yv11/model.onnx ONNX
head_detect_v0_n_yv11/model.pt
head_detect_v0_n_yv11/model_type.json
head_detect_v0_n_yv11/results.csv
head_detect_v0_n_yv11/results.png
head_detect_v0_n_yv11/threshold.json
head_detect_v0_s/F1_curve.png
head_detect_v0_s/PR_curve.png
head_detect_v0_s/P_curve.png
head_detect_v0_s/R_curve.png
head_detect_v0_s/confusion_matrix.png
head_detect_v0_s/confusion_matrix_normalized.png
head_detect_v0_s/events.out.tfevents.1738662536.74aa4261331bbcab0987b94433af8ac622a654e7594a46e49f97167a.259603.0
head_detect_v0_s/labels.jpg
head_detect_v0_s/labels.json
head_detect_v0_s/labels_correlogram.jpg
head_detect_v0_s/model.onnx ONNX
head_detect_v0_s/model.pt
head_detect_v0_s/model_artifacts.json
head_detect_v0_s/model_type.json
head_detect_v0_s/results.csv
head_detect_v0_s/results.png
head_detect_v0_s/threshold.json
head_detect_v0_s_yv11/F1_curve.png
head_detect_v0_s_yv11/PR_curve.png
head_detect_v0_s_yv11/P_curve.png
head_detect_v0_s_yv11/R_curve.png
head_detect_v0_s_yv11/confusion_matrix.png
head_detect_v0_s_yv11/confusion_matrix_normalized.png
head_detect_v0_s_yv11/events.out.tfevents.1738660874.dbd7b05c6be69b3cad7adc4be45b0f3ae9bfa42b4e0c6f4f253fe7cb.1207228.0
head_detect_v0_s_yv11/labels.jpg
head_detect_v0_s_yv11/labels.json
head_detect_v0_s_yv11/labels_correlogram.jpg
head_detect_v0_s_yv11/model.onnx ONNX
head_detect_v0_s_yv11/model.pt
head_detect_v0_s_yv11/model_type.json
head_detect_v0_s_yv11/results.csv
head_detect_v0_s_yv11/results.png
head_detect_v0_s_yv11/threshold.json