feat: face fix deployment + trace_* regeneration + executor stderr filter fix
- swift_face.swift: frame rounding (.rounded()), conf 0.75, min_size 64 - trace_* directories regenerated for KOBA (37 traces, start_frame 5307) - executor.rs: stderr filter now logs all non-empty stderr (was discarding) - VAD not skippable in ASRX (main_fixed.py Step 2 always runs) - Step 2.5 sentence boundary refinement added - Cluster agent async endpoints + similarity transparency - Keyword search: relationship text extraction, priority ordering - Face fix handoff doc for Studio team
This commit is contained in:
@@ -57,8 +57,23 @@ def parse_trace_profile(json_path: Path) -> dict | None:
|
||||
"end_frame": data.get("end_frame"),
|
||||
"frame_count": data.get("frame_count"),
|
||||
"key_frame": data.get("key_frame"),
|
||||
"key_face": data.get("key_face"),
|
||||
"status": data.get("status", "pending"),
|
||||
"avg_confidence": data.get("avg_confidence"),
|
||||
"properties": json.dumps({
|
||||
"trace_id": trace_id,
|
||||
"frame_count": data.get("frame_count"),
|
||||
"start_frame": data.get("start_frame"),
|
||||
"end_frame": data.get("end_frame"),
|
||||
"key_frame": data.get("key_frame"),
|
||||
"key_face": data.get("key_face"),
|
||||
"avg_confidence": data.get("avg_confidence"),
|
||||
"avg_bbox": data.get("avg_bbox"),
|
||||
"avg_yaw": data.get("avg_yaw"),
|
||||
"avg_pitch": data.get("avg_pitch"),
|
||||
"avg_roll": data.get("avg_roll"),
|
||||
"pose_count": data.get("pose_count"),
|
||||
}),
|
||||
"vlm_description": data.get("vlm_description"),
|
||||
"vlm_clothing": data.get("vlm_clothing"),
|
||||
"vlm_tags": data.get("vlm_tags", []),
|
||||
@@ -87,7 +102,7 @@ def insert_trace_profiles(conn, profiles: list[dict], dry_run: bool = False):
|
||||
sql = f"""
|
||||
INSERT INTO {table} (
|
||||
file_uuid, trace_id, name, start_frame, end_frame, frame_count,
|
||||
key_frame, status, avg_confidence,
|
||||
key_frame, key_face, status, avg_confidence, properties,
|
||||
vlm_description, vlm_clothing, vlm_tags, vlm_location, vlm_setting,
|
||||
vlm_lighting, vlm_weather, vlm_hand_objects, vlm_has_plants, vlm_has_animals,
|
||||
vlm_background, vlm_bg_tags, vlm_model
|
||||
@@ -98,8 +113,10 @@ def insert_trace_profiles(conn, profiles: list[dict], dry_run: bool = False):
|
||||
end_frame = EXCLUDED.end_frame,
|
||||
frame_count = EXCLUDED.frame_count,
|
||||
key_frame = EXCLUDED.key_frame,
|
||||
key_face = EXCLUDED.key_face,
|
||||
status = EXCLUDED.status,
|
||||
avg_confidence = EXCLUDED.avg_confidence,
|
||||
properties = EXCLUDED.properties,
|
||||
vlm_description = EXCLUDED.vlm_description,
|
||||
vlm_clothing = EXCLUDED.vlm_clothing,
|
||||
vlm_tags = EXCLUDED.vlm_tags,
|
||||
@@ -132,8 +149,10 @@ def insert_trace_profiles(conn, profiles: list[dict], dry_run: bool = False):
|
||||
p["end_frame"],
|
||||
p["frame_count"],
|
||||
p["key_frame"],
|
||||
p["key_face"],
|
||||
p["status"],
|
||||
p["avg_confidence"],
|
||||
p["properties"],
|
||||
p["vlm_description"],
|
||||
p["vlm_clothing"],
|
||||
p["vlm_tags"],
|
||||
|
||||
Reference in New Issue
Block a user