mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Make daemon thread
This commit is contained in:
parent
cbbe8dd07a
commit
25ae885bc7
@ -245,7 +245,7 @@ class ArcFaceRecognizer(FaceRecognizer):
|
|||||||
|
|
||||||
self.model_builder_queue.put(face_embeddings_map)
|
self.model_builder_queue.put(face_embeddings_map)
|
||||||
|
|
||||||
thread = threading.Thread(target=build_model)
|
thread = threading.Thread(target=build_model, daemon=True)
|
||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user