diff --git a/config.py b/config.py index 9c53ff3..7df78c0 100644 --- a/config.py +++ b/config.py @@ -241,7 +241,7 @@ TRIANGLE_BLACKHAT_KERNEL_FRAC = 0.018 # 核大小 ≈ min(h,w)*frac,取奇数 # ── YOLO(NPU) 靶环 ROI → 裁剪后再跑三角形(减小 CPU 处理面积)────────────────── # 日志里 net_in=W×H 来自 .mud 模型(det.input_width/height),不是这里配置的。 TRIANGLE_YOLO_ROI_ENABLE = True -TRIANGLE_YOLO_MODEL_PATH = APP_DIR + "/model_317211.mud" +TRIANGLE_YOLO_MODEL_PATH = APP_DIR + "/model_317828.mud" # 参与 ROI 的类别:多类时只填「整靶/靶环」的 id;不要填角标类,否则 union 仍可对,但 largest 会偏小。 TRIANGLE_YOLO_RING_CLASS_IDS = (0,) TRIANGLE_YOLO_CONF_TH = 0.9 diff --git a/model_270139.cvimodel b/model_270139.cvimodel deleted file mode 100644 index 09b6efb..0000000 Binary files a/model_270139.cvimodel and /dev/null differ diff --git a/model_270139.mud b/model_270139.mud deleted file mode 100644 index 6fa7113..0000000 --- a/model_270139.mud +++ /dev/null @@ -1,13 +0,0 @@ - -[basic] -type = cvimodel -model = model_270139.cvimodel - -[extra] -model_type = yolov5 -input_type = rgb -mean = 0, 0, 0 -scale = 0.00392156862745098, 0.00392156862745098, 0.00392156862745098 -anchors = 10, 13, 16, 30, 33, 23, 30, 61, 62, 45, 59, 119, 116, 90, 156, 198, 373, 326 -labels = 黑三角和圆环 - diff --git a/model_270820.cvimodel b/model_270820.cvimodel deleted file mode 100644 index 0ab2069..0000000 Binary files a/model_270820.cvimodel and /dev/null differ diff --git a/model_270820.mud b/model_270820.mud deleted file mode 100644 index cf95de4..0000000 --- a/model_270820.mud +++ /dev/null @@ -1,13 +0,0 @@ - -[basic] -type = cvimodel -model = model_270820.cvimodel - -[extra] -model_type = yolov5 -input_type = rgb -mean = 0, 0, 0 -scale = 0.00392156862745098, 0.00392156862745098, 0.00392156862745098 -anchors = 10, 13, 16, 30, 33, 23, 30, 61, 62, 45, 59, 119, 116, 90, 156, 198, 373, 326 -labels = triangle - diff --git a/model_285484.cvimodel b/model_285484.cvimodel deleted file mode 100644 index 545b824..0000000 Binary files a/model_285484.cvimodel and /dev/null differ diff --git a/model_285484.mud b/model_285484.mud deleted file mode 100644 index e8b1862..0000000 --- a/model_285484.mud +++ /dev/null @@ -1,13 +0,0 @@ - -[basic] -type = cvimodel -model = model_285484.cvimodel - -[extra] -model_type = yolov5 -input_type = rgb -mean = 0, 0, 0 -scale = 0.00392156862745098, 0.00392156862745098, 0.00392156862745098 -anchors = 10, 13, 16, 30, 33, 23, 30, 61, 62, 45, 59, 119, 116, 90, 156, 198, 373, 326 -labels = 20, 40 - diff --git a/model_317211.cvimodel b/model_317211.cvimodel deleted file mode 100644 index 159f4d0..0000000 Binary files a/model_317211.cvimodel and /dev/null differ diff --git a/model_317211.mud b/model_317211.mud deleted file mode 100644 index ed01f1e..0000000 --- a/model_317211.mud +++ /dev/null @@ -1,13 +0,0 @@ - -[basic] -type = cvimodel -model = model_317211.cvimodel - -[extra] -model_type = yolov5 -input_type = rgb -mean = 0, 0, 0 -scale = 0.00392156862745098, 0.00392156862745098, 0.00392156862745098 -anchors = 10, 13, 16, 30, 33, 23, 30, 61, 62, 45, 59, 119, 116, 90, 156, 198, 373, 326 -labels = circle, triangle -