修改文档执行命令

This commit is contained in:
Ukawka
2026-09-20 23:55:25 +08:00
parent a00a5621cf
commit fe4ee1a08e
2 changed files with 12 additions and 5 deletions
+6 -5
View File
@@ -49,11 +49,12 @@ Alpha / ROI 校验、距离变换候选点、segmentation-prompts.json
示例:
~~~powershell
node .\pipeline.mjs --mode annotated-parts `
--config .\configs\deepseek-qwen.json `
--reference ..\spine-animation-ai\demo\character_reference.png `
--out-dir .\output\sombrero-understand-deepseek `
--stop-after understand
node .\tools\model-check.mjs `
--stage understanding `
--understanding-model gpt-6-astra `
--reference .\output\sombrero-grounding-v2\source.png `
--out-dir ".\output\$runId\understand" `
--config .\configs\tiantoken.json
~~~
第一步由以下两个文件负责:
+6
View File
@@ -12,6 +12,12 @@ conda run --no-capture-output -n ai-spine node .\tools\model-check.mjs `
--input-dir .\output\sombrero-grounding-v2 `
--out-dir .\output\sombrero-sam-local `
--sam-dir F:/Study/SAM3
node .\tools\model-check.mjs `
--stage segmentation `
--input-dir ".\output\$runId\understand" `
--out-dir ".\output\$runId\sam" `
--sam-dir F:/Study/SAM3
```
输出目录必须是新目录。相同输入、代码、权重、参数及完整产物可加 `--resume` 复用;失败结果保留,另建目录重跑。独立分割不调用视觉 LLM 或图片编辑接口,不需要 API Key。