chore: SegFormer 模型不入库,改为手动下载

- .gitignore 排除 hairline/models/face-parsing/model.safetensors(~323MB)
- OFFLINE_ASSETS.md 更新:区分已入库文件和需手动下载文件,补充 SegFormer sha256
This commit is contained in:
xsl
2026-06-14 17:19:24 +08:00
parent e827b23c1d
commit 78226ae0b9
2 changed files with 33 additions and 17 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ gateway/config.json
# worker 配置(含鉴权密码,不入 git)
worker_config.json
# 模型权重(不入 git,由 scripts/download_weights.sh 拉取,见 OFFLINE_ASSETS.md
face_analysis/weights/*.pth
# SegFormer 模型权重(~323MB,体积过大,不入 git,见 OFFLINE_ASSETS.md
hairline/models/face-parsing/model.safetensors
# 生成的标注图、测试输出
static/annotations/*