From 23ce1e930d765d383762857a75bd4cee76a8bf16 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 7 Oct 2024 19:51:37 -0500 Subject: [PATCH] Adjust zscore bias for descriptions (#14205) --- frigate/embeddings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/embeddings/__init__.py b/frigate/embeddings/__init__.py index aa7590994..a4c8618e4 100644 --- a/frigate/embeddings/__init__.py +++ b/frigate/embeddings/__init__.py @@ -73,7 +73,7 @@ class EmbeddingsContext: def __init__(self, db: SqliteVecQueueDatabase): self.embeddings = Embeddings(db) self.thumb_stats = ZScoreNormalization() - self.desc_stats = ZScoreNormalization(scale_factor=2.5, bias=0.5) + self.desc_stats = ZScoreNormalization(scale_factor=3, bias=-2.5) # load stats from disk try: