批量测试:仅非高清(20脸×5发型=100张)+ 报告原图大图并排对比
- batch_grow_v2.py: HR_OPTIONS 仅保留非高清档,去掉高清 - gen_report_hairline_v2.py: 每张脸 grid 改为「原图大图 + 5发型」6列并排, 原图不再是缩略图;去掉高清/非高清行标签和失败表高清列
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""批量调用接口12(/api/v1/hairline/grow_v2)生成对比素材。
|
||||
|
||||
20 张女生照片 × 5 种发际线发型 × {高清, 非高清} = 200 张输出。
|
||||
并发 4,失败的跳过并记录原因。结果图落盘到 static/report_hairline_v2/img/,
|
||||
20 张女生照片 × 5 种发际线发型(仅非高清)= 100 张输出。
|
||||
并发 2,失败的跳过并记录原因。结果图落盘到 static/report_hairline_v2/img/,
|
||||
元数据落盘 static/report_hairline_v2/results.json,供生成报告用。
|
||||
|
||||
用法: python scripts/batch_grow_v2.py
|
||||
@@ -31,7 +31,7 @@ HAIRSTYLES = [
|
||||
("chang_xinxing", "心形"),
|
||||
("chang_huaban", "花瓣"),
|
||||
]
|
||||
HR_OPTIONS = [(True, "hr"), (False, "nohr")]
|
||||
HR_OPTIONS = [(False, "nohr")] # 仅非高清
|
||||
|
||||
|
||||
def list_inputs():
|
||||
|
||||
Reference in New Issue
Block a user