修正引入路径错误

This commit is contained in:
zqc
2026-03-03 15:50:04 +08:00
parent e5a313322b
commit 7424c14265

View File

@@ -25,8 +25,8 @@ from utils.logger import get_logger
logger = get_logger(__name__)
# ========================= 配置区 =========================
Person_Phone_Model = r'Yolo_Weight/person_phone_model.onnx' # 人和手机的检测模型
Smoke_Model = r'Yolo_Weight/smoke_model.onnx' # 抽烟检测模型
Person_Phone_Model = r'YOLO_Weight/person_phone_model.onnx' # 人和手机的检测模型
Smoke_Model = r'YOLO_Weight/smoke_model.onnx' # 抽烟检测模型
person_phone_input_size = 1280 # 模型输入尺寸,与训练时的模型一致
smoke_input_size = 1280 # 模型输入尺寸,与训练时的模型一致