From b63929158505fd54b736d497c5de65aded40c3ba Mon Sep 17 00:00:00 2001 From: Accusys Date: Sat, 10 Oct 2026 14:57:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20Scene=20VLM=20?= =?UTF-8?q?=E5=88=B0=20Pipeline=20Progress=20=E9=98=B6=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题: - Scene VLM 是必要处理步骤(当有 CUT 时) - 但在 PipelineProgress 中没有对应的阶段 - 前端无法看到 Scene VLM 的处理进度 修复: - 添加 scene_vlm 阶段(权重 3%) - 调整 vlm_summary 权重从 4% 到 3% - 确保 Scene VLM 在处理流程中有明确的进度显示 阶段权重: - processors: 30% - rule1_ingestion: 5% - face_tracing: 5% - face_dedup: 10% - tkg_nodes: 20% - tkg_edges: 15% - rule2_ingestion: 10% - vlm_summary: 3% - scene_vlm: 3% - moment_chunks: 1% 总计: 100% 影响: - 深度扫描文件会显示 Scene VLM 处理进度 - 用户可以看到完整的处理流程 - 更好的透明度和用户体验 测试: ✅ 编译通过(cargo build --bin momentry) --- src/core/progress.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/core/progress.rs b/src/core/progress.rs index 9a8a4301..b309b15e 100644 --- a/src/core/progress.rs +++ b/src/core/progress.rs @@ -92,10 +92,18 @@ impl PipelineProgress { status: "pending".into(), detail: None, }, - // VLM Summary (5%) + // VLM Summary (3%) PipelineStage { name: "vlm_summary".into(), - weight: 0.04, + weight: 0.03, + progress: 0.0, + status: "pending".into(), + detail: None, + }, + // Scene VLM (3%) - mandatory when cut.json exists + PipelineStage { + name: "scene_vlm".into(), + weight: 0.03, progress: 0.0, status: "pending".into(), detail: None,