2026-11-18|Jira 留言 407757
prompt_tasks.py 的 HEAD)HEAD 的註解,例如 without a headscarf(戴帽子的人也沒戴頭巾)、wearing a headscarf(頭紗也叫 headscarf)、veil(niqab 也叫 veil)| 次數 | id | 類 | 句子 |
|---|---|---|---|
| 7 | 106 | hijab | a photo of a woman whose head is wrapped in a hijab |
| 6 | 93 | 沒戴 | a photo of a person with uncovered hair |
| 4 | 98 | 沒戴 | a photo of a person whose whole head of hair is visible |
| 4 | 115 | 帽子 | a photo of a person wearing a cap |
| 4 | 122 | 頭紗 | a photo of a woman wearing a sheer veil on her head with some of her hair showing |
manage.py four_way_search head --device cuda:6 組兩兩相比(每組 100 套,10 折)、每類前 3 句、81 套四選一。存成 experiment_runs id 31~36(兩兩相比)、37(四選一);4090 每個模型 71 秒manage.py four_way_screen head 31 32 33 34 35 36 --device cuda:前 3 句用 6 組、3 組兩種選法各做 81 套,存成 id 38(6 組)、39(3 組);每個模型每種選法 70 秒。12 個模型的 6 組跟 id 37 相同| 模型 | 用哪一種 | 句子 id(沒戴/hijab/帽子/頭紗) | 10 折 | 每類判對(沒戴/hijab/帽子/頭紗) |
|---|---|---|---|---|
| dfn-h14 | 6 組 | 93/99/112/122 | 95.4% | 94%/98%/97%/93% |
| embeddinggemma2-fp32 | 6 組 | 92/106/115/117 | 94.1% | 91%/96%/94%/96% |
| siglip2-giant | 6 組 | 93/106/114/126 | 93.3% | 90%/96%/94%/94% |
| pe-core-bigg | 6 組 | 93/106/115/120 | 92.8% | 93%/96%/88%/94% |
| dinov3-vitl16-dinotxt | 6 組 | 98/106/108/122 | 92.3% | 92%/97%/92%/88% |
| eva02-e14-plus | 6 組 | 92/106/115/122 | 90.7% | 90%/96%/88%/89% |
| openclip-bigg | 6 組 | 93/102/108/122 | 90.5% | 91%/95%/85%/91% |
| clip-l14-336 | 6 組 | 93/104/112/120 | 84.6% | 81%/93%/81%/84% |
| 8 大平均 | 91.7% | |||
| siglip2-base-384 | 6 組 | 98/28/114/119 | 95.1% | 94%/99%/92%/95% |
| siglip2-base | 6 組 | 98/106/114/126 | 94.0% | 94%/96%/93%/93% |
| mobileclip-b | 6 組 | 93/102/108/120 | 94.9% | 94%/97%/93%/95% |
| mobileclip-s1 | 3 組 | 98/106/115/126 | 92.8% | 93%/94%/96%/88% |
| 4 小平均 | 94.2% |
manage.py four_way_detector head run|fixed|test)HEAD["nouns"]),每類單獨用或 10 個平均,1,331 套各自固定做 10 折。結果在 head_detector/<模型>.json| 模型 | 最高的一套(hijab/帽子/頭紗) | 800 張 10 折 | 每類判對(沒戴/hijab/帽子/頭紗) | 判錯最多的 3 種 |
|---|---|---|---|---|
| owlv2-large | hijab scarf/baseball cap/chapel veil | 89.9% | 88%/96%/91%/85% | 沒戴 → 帽子 26、頭紗 → hijab 9、沒戴 → 頭紗 7 |
| gdino-base-400 | hijab/10 個平均/sheer veil | 75.7% | 79%/76%/96%/51% | hijab → 頭紗 32、hijab → 帽子 28、沒戴 → 頭紗 25 |
| 投票的模型 | 全票一致 | 一致的圖判對 | 一致且判對(沒戴/hijab/帽子/頭紗) |
|---|---|---|---|
| 10 個(8 大+2 偵測) | 463(57.9%) | 98.3% | 166/190/65/34 |
| 9 個(8 大+OWLv2) | 573(71.6%) | 98.1% | 187/239/66/70 |
| 8 大 | 592(74.0%) | 98.1% | 196/242/68/75 |
| 前 5 名 | 679(84.9%) | 98.2% | 239/264/82/82 |
| 前 3 名 | 723(90.4%) | 98.1% | 256/273/91/89 |
experiments/head_test_set.py,結果 head_test_set.json)| 模型 | 800 張 10 折 | test set | 每類判對(沒戴/hijab/帽子/頭紗) |
|---|---|---|---|
| dfn-h14 | 95.4% | 83.1% | 54%/98%/90%/90% |
| embeddinggemma2-fp32 | 94.1% | 82.9% | 58%/93%/84%/97% |
| siglip2-giant | 93.3% | 81.4% | 52%/95%/83%/95% |
| pe-core-bigg | 92.8% | 82.3% | 66%/95%/74%/94% |
| dinov3-vitl16-dinotxt | 92.3% | 83.1% | 59%/95%/90%/88% |
| eva02-e14-plus | 90.7% | 80.9% | 62%/96%/71%/95% |
| openclip-bigg | 90.5% | 82.7% | 59%/92%/87%/93% |
| clip-l14-336 | 84.6% | 77.1% | 53%/89%/80%/86% |
| 投票的 5 個平均 | 93.6% | 82.5% | |
| 8 大平均 | 91.7% | 81.7% | |
| siglip2-base-384 | 95.1% | 83.6% | 63%/96%/85%/91% |
| siglip2-base | 94.0% | 82.5% | 61%/95%/82%/91% |
| mobileclip-b | 94.9% | 84.5% | 65%/94%/89%/91% |
| mobileclip-s1 | 92.8% | 82.0% | 53%/95%/90%/90% |
| 4 小平均 | 94.2% | 83.2% | |
| owlv2-large | 89.9% | 78.9% | 55%/97%/82%/82% |
| gdino-base-400 | 75.7% | 72.2% | 53%/83%/97%/55% |
| 沒戴的圖從哪一層來 | 張數 | 判錯 | 判成什麼 |
|---|---|---|---|
| 沒戴 | 100 | 2~5 | |
| 鬍子 | 100 | 9~13 | 大多是帽子 |
| 面紗 | 100 | 94~100 | 大多是頭紗 |
| 口罩 | 114 | 33~81 | 帽子、hijab;89 張來自 filter_size_224_crop,原因沒看圖確認 |
| 頭紗 | 2 | 2 |
| 圖 | 張數 | 判成頭紗 | 判成沒戴 | 判成帽子/hijab |
|---|---|---|---|---|
| 頭上沒戴、臉上面紗 | 102 | 82~95 | 0~6 | 帽子 2~13、hijab 1~6 |
| 頭上頭紗、臉上也有面紗 | 27 | 26~27 | 0~1 | |
| 頭上頭紗、臉上沒有面紗 | 73 | 62~70 | 1~2 | hijab 2~9、帽子 0~6 |
lower_face_search → four_way_search lower_face|head、lower_face_screen → four_way_screen、lower_face_detector → four_way_detector。2026-11-16、11-17 的 note 寫的是舊名稱experiments/lower_face_test_set.py 重跑的結果跟 11/17 相同embed_texts、embed_samples_and_test_set 預設改成 12 個模型:11/09 加入 DINOv3 後預設沒跟著改,dinov3 要另外跑FILTER_IMAGES);確認頁的圖從 233 拿(FILTER_IMAGES_URL)