完成显卡核心分配

This commit is contained in:
zqc
2026-03-02 15:11:57 +08:00
parent cd27032e6d
commit a6954bd39e
2 changed files with 34 additions and 11 deletions

View File

@@ -34,6 +34,7 @@ database:
# debug_mode: True=前台运行适合PyCharm调试False=后台运行(适合生产部署)
debug_mode: true
downloader_debug_mode: false # 下载进程调试模式
total_devices: 1 # 显卡核心数量,用于自动分配设备
alert_push_url: "http://123.57.151.210:10000/picenter/websocket/test/process"
hls_root_path: "D:/ProjectDoc/Police/data/hls"
hls_downloader_daily_rotate_hour: 3 # 凌晨轮换时间
@@ -45,10 +46,10 @@ service_groups:
video_source_type: "hls"
ws_host: "0.0.0.0" # WebSocket 服务地址
ws_port: 8765 # WebSocket 服务端口
algorithm: "supervision_room" # 算法类型
algorithm: "checkpoint" # 算法类型
cameras: # 该组下的摄像头列表
- id: 1
index: testindexcode
- id: 8
index: 12345
name: Entrance
params:
roi_points: