AOSSIE-Org / AOSSIE-Org/PictoPy

Issue: Face Embedding Normalization Can Divide by Zero

オープン
#632 コメント 2 件 リアクション 0 件 担当者 1 名 @prvn-kumar01 が担当を希望しています GitHub で見る
backend bug
主要言語
Python
スター
283
フォーク
679
平均マージ
7日 2時間
マージ済み PR(30日)
3

説明

FaceNet_util_normalize_embedding divides embeddings by np.linalg.norm(embedding) without guarding against zero-length vectors. When Facenet returns a near-zero tensor (e.g., because the detected crop was empty or corrupted), the norm becomes 0 and we produce NaN/Inf embeddings. These invalid values get committed to the database and break subsequent similarity comparisons.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。