mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Adjust zscore bias for descriptions (#14205)
This commit is contained in:
parent
6ebad84160
commit
23ce1e930d
@ -73,7 +73,7 @@ class EmbeddingsContext:
|
|||||||
def __init__(self, db: SqliteVecQueueDatabase):
|
def __init__(self, db: SqliteVecQueueDatabase):
|
||||||
self.embeddings = Embeddings(db)
|
self.embeddings = Embeddings(db)
|
||||||
self.thumb_stats = ZScoreNormalization()
|
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
|
# load stats from disk
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user