From e9098d26d2d258bddc8af195b93e2395b0911c6f Mon Sep 17 00:00:00 2001 From: th Date: Sat, 23 Aug 2025 09:14:44 +0800 Subject: [PATCH] =?UTF-8?q?1=EF=BC=89=E6=96=B0=E5=A2=9E=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E5=85=A5=E4=BE=B5=E7=AE=97=E6=B3=95:mqtt=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E4=B8=8D=E5=BC=80=E5=90=AF=202=EF=BC=89=E5=9F=8E=E7=AE=A1dmpr?= =?UTF-8?q?=E6=94=AF=E6=92=91engine?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/service/dsp_test_service.yml | 2 +- enums/ModelTypeEnum.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/service/dsp_test_service.yml b/config/service/dsp_test_service.yml index 8e001cb..94293b8 100644 --- a/config/service/dsp_test_service.yml +++ b/config/service/dsp_test_service.yml @@ -34,7 +34,7 @@ service: storage_source: 0 #是否启用mqtt,0--不用,1--启用 mqtt: - flag: 1 + flag: 0 business: 1 #是否启用alg控制功能 algSwitch: False \ No newline at end of file diff --git a/enums/ModelTypeEnum.py b/enums/ModelTypeEnum.py index c506ea8..392145c 100644 --- a/enums/ModelTypeEnum.py +++ b/enums/ModelTypeEnum.py @@ -380,8 +380,8 @@ class ModelType(Enum): 'par':{ 'half':True,'device':'cuda:0' ,'conf_thres':0.25,'iou_thres':0.45,'segRegionCnt':1, 'trtFlag_det':True,'trtFlag_seg':True} }, { - #'weight':'../weights/trt/AIlib2/cityMangement3/dmpr_3090.engine', - 'weight':'../weights/pth/AIlib2/cityMangement3/dmpr.pth', + 'weight':'../weights/trt/AIlib2/cityMangement3/dmpr_3090.engine', + #'weight':'../weights/pth/AIlib2/cityMangement3/dmpr.pth', 'par':{ 'depth_factor':32,'NUM_FEATURE_MAP_CHANNEL':6,'dmpr_thresh':0.1, 'dmprimg_size':640, 'name':'dmpr'