feat: trace quality agent selection report, identity clustering runner_v2 DB write, age/gender CoreML selection, updated experiment config UUID

This commit is contained in:
Warren
2026-05-06 14:41:48 +08:00
parent 74b6182eba
commit 65a1f77e65
1048 changed files with 103499 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# Identity Clustering 實驗記錄區
每個實驗獨立運行,結果完整保留,用於後續分析比較。
## 目錄結構
```
experiments/identity_clustering/
├── README.md # 本文件
├── configs/ # 實驗配置
│ └── exp_{id}.json # 每個實驗的參數設定
├── results/ # 實驗結果
│ └── exp_{id}/
│ ├── clusters.json # 分群結果
│ ├── labels.json # 標註結果TMDb/Speaker
│ ├── metrics.json # 評估指標
│ └── summary.txt # 摘要報告
├── reports/ # 比較分析報告
│ └── comparison_{date}.md # 跨實驗比較
└── runner.py # 實驗執行器
```
## 實驗設計
每個實驗包含以下維度的組合:
| 維度 | 選項 |
|------|------|
| **Trace filter** | none / min_frames=30 / min_frames=60 |
| **Centroid** | mean / median / best_confidence |
| **Clustering** | cosine_threshold / DBSCAN / Agglomerative |
| **Threshold** | fixed=0.85 / adaptive(pose) / auto |
| **TMDb** | enabled / disabled |
| **Speaker verify** | ✅ 標準工序(所有實驗強制) |
## 當前輸入數據
- file_uuid: `1a04db97be5fa12bd77369831dc141fd`
- 6182 detections, 2347 traces, 512D embeddings
- 10 speakers (ASRX), 57 YOLO objects
- TMDb identities: available (Charade 1963 cast)