mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-01 04:44:52 +03:00
Add fix for value error in embedding
This commit is contained in:
parent
6139e18df7
commit
9448af3f83
@ -679,4 +679,7 @@ class EmbeddingMaintainer(threading.Thread):
|
|||||||
if not self.config.semantic_search.enabled:
|
if not self.config.semantic_search.enabled:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.embeddings.embed_thumbnail(event_id, thumbnail)
|
try:
|
||||||
|
self.embeddings.embed_thumbnail(event_id, thumbnail)
|
||||||
|
except ValueError:
|
||||||
|
logger.warning(f"Failed to embed thumbnail for event {event_id}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user