feat: 添加 Scene VLM 到 Pipeline Progress 阶段
问题:
- 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)
This commit is contained in:
+10
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user