From 2c074f064dd0a5482ee6e5bddc7c9da49d9af3b1 Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Sat, 14 Feb 2026 11:31:23 +0800 Subject: [PATCH] =?UTF-8?q?revert(inference):=20=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E7=BD=AE=E4=BF=A1=E5=BA=A6=E9=98=88=E5=80=BC=E5=88=B00.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - conf_threshold: 0.5 → 0.4 (恢复原值) - 未经用户授权的修改已回退 Co-Authored-By: Claude Opus 4.6 --- config/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/settings.py b/config/settings.py index 61673f6..28fec69 100644 --- a/config/settings.py +++ b/config/settings.py @@ -117,7 +117,7 @@ class InferenceConfig: input_width: int = 480 input_height: int = 480 batch_size: int = 1 - conf_threshold: float = 0.5 + conf_threshold: float = 0.4 nms_threshold: float = 0.45 device_id: int = 0 fp16_mode: bool = True @@ -273,7 +273,7 @@ class Settings: input_width=int(os.getenv("INPUT_WIDTH", "480")), input_height=int(os.getenv("INPUT_HEIGHT", "480")), batch_size=int(os.getenv("BATCH_SIZE", "4")), - conf_threshold=float(os.getenv("CONF_THRESHOLD", "0.5")), + conf_threshold=float(os.getenv("CONF_THRESHOLD", "0.4")), nms_threshold=float(os.getenv("NMS_THRESHOLD", "0.45")), )