mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-17 21:58:22 +03:00
fix: update correct metric in batch_embed_thumbnail
batch_embed_thumbnail processes image thumbnails but reports timing to text_inference_speed instead of image_inference_speed.
This commit is contained in:
parent
722ef6a1fe
commit
398bc14244
@ -266,7 +266,7 @@ class Embeddings:
|
||||
)
|
||||
|
||||
duration = datetime.datetime.now().timestamp() - start
|
||||
self.text_inference_speed.update(duration / len(valid_ids))
|
||||
self.image_inference_speed.update(duration / len(valid_ids))
|
||||
|
||||
return embeddings
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user