报告图片已压缩为内嵌 JPG(缩放至300px宽,质量70),体积从 ~45MB 降至 ~3MB: - static/benchmark_report.html: 4模型×3分辨率矩阵对比 (2.7MB) - static/hairstyle_report.html: 3图×5发型×10组合对比 (3.1MB) 同步更新报告生成脚本支持图片压缩,并从 .gitignore 移除报告文件排除。
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
venv/
|
||
__pycache__/
|
||
*.pyc
|
||
.env
|
||
|
||
|
||
# 网关配置(含密码,不入 git)
|
||
gateway/config.json
|
||
|
||
# worker 配置(含鉴权密码,不入 git)
|
||
worker_config.json
|
||
|
||
# ComfyUI Basic Auth 密码(不入 git)
|
||
password.txt
|
||
|
||
# worker 运行期文件(PID / 日志)
|
||
worker.pid
|
||
worker.log
|
||
|
||
# 请求日志(运行时生成,不入 git)
|
||
gateway/request_log.jsonl
|
||
gateway/request_log.jsonl.1
|
||
|
||
# SegFormer 模型权重(~323MB,体积过大,不入 git,见 OFFLINE_ASSETS.md)
|
||
hairline/models/face-parsing/model.safetensors
|
||
|
||
# 生成的标注图、测试输出
|
||
static/annotations/*
|
||
!static/annotations/.gitkeep
|
||
tests/output/
|
||
|
||
# 本地临时遮罩测试页(不入 git)
|
||
test_local.py
|
||
|
||
# 运行期日志 / uvicorn 日志(不入 git)
|
||
log/
|
||
uvicorn.log
|
||
uvicorn*.log
|
||
|
||
# ZCode 工具目录(不入 git)
|
||
.zcode/
|
||
|
||
# 临时响应文件(不入 git)
|
||
_grow*_resp.json
|
||
|
||
# 测试素材图(体积大,不入 git)
|
||
image/test/
|
||
|
||
# 批量报告输出(生成图+原图,体积大,不入 git)
|
||
static/report_hairline_v2/
|
||
static/report_hairline_v2.zip
|
||
|
||
# local_test 运行期日志 / pid(不入 git)
|
||
local_test/hair_service.log
|
||
local_test/hair_service.pid
|
||
|
||
# benchmark 原始输出(含结果图+原图,体积大,不入 git)
|
||
benchmark_out/
|
||
|
||
# benchmark 部署的 HTML 报告(图片 base64 内嵌,体积大,不入 git)
|
||
static/hairstyle_thumbs/
|
||
|
||
# 网关运行期日志(不入 git)
|
||
gateway.log
|
||
|
||
# 工作流备份文件(不入 git)
|
||
*.json.bak.*
|