Files
hacksider-Deep-Live-Cam/modules
Nguyen Van Nam 8d727eba3e fix: bound face-cluster count by available embeddings (#1793)
`find_cluster_centroids()` iterates `k` from 1..`max_k` unconditionally. If `len(embeddings) < max_k`, `KMeans(n_clusters=k)` will raise `ValueError` when `k` exceeds the number of samples. This is an unhandled crash path on small datasets.


Affected files: cluster_analysis.py

Signed-off-by: Nguyen Van Nam <nam.nv205106@gmail.com>
2026-07-14 23:55:23 +08:00
..
2026-06-14 20:18:56 +08:00
2026-06-14 20:18:56 +08:00
2026-02-12 19:44:04 +08:00
2025-10-12 22:33:09 +08:00
2025-01-07 14:04:18 +08:00
2026-05-15 16:33:27 +08:00
2026-05-15 15:53:55 +08:00
2026-02-12 19:44:04 +08:00
2025-10-12 22:33:09 +08:00
2023-09-24 21:36:57 +08:00
2024-09-19 17:38:02 +08:00
2026-06-14 20:18:56 +08:00
2026-04-09 16:25:22 +08:00