保留5号历史三档实现,新增中下庭高度定位、扶正裁切、矩形叠加与30案例对比页。 worker仅允许本机和配置白名单访问;网关不增加IP限制。空图片URL字段改写限定为52号,保持旧接口兼容。同步接口、裁切与部署文档。 验证:113项测试通过;1项历史数值基线失败,在未修改的a3fddbb版本复现。浏览器验证5/52及30案例对比页通过。
85 lines
1.9 KiB
Plaintext
85 lines
1.9 KiB
Plaintext
venv/
|
||
__pycache__/
|
||
*.pyc
|
||
.env
|
||
|
||
|
||
# 网关配置(含密码,不入 git)
|
||
gateway/config.json
|
||
|
||
# worker 配置(含鉴权密码,不入 git)
|
||
worker_config.json
|
||
ip_access.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.*
|
||
|
||
# 脸型测试素材(人像照片,体积大,不入 git;仅保留 6 张基准标注图)
|
||
face/test_img/脸型测试集合/
|
||
face/test_img/girl/
|
||
face/test_img/man/
|
||
|
||
# 脸型特征缓存(由 face/dump_features.py 生成,可随时重跑)
|
||
face/cache/
|
||
|
||
# 脸型报告输出(标注图体积大,不入 git)
|
||
static/face_shape_report/
|
||
static/face_shape_report.html
|
||
static/facetest_report/
|
||
static/facetest_report.html
|
||
static/facetest_all_report/
|
||
static/facetest_all_report.html
|