mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-05 17:51:36 +02:00
ruff format
This commit is contained in:
parent
90d7c959ea
commit
703bc1229e
@ -148,8 +148,7 @@ class ArcfaceEmbedding(BaseEmbedding):
|
|||||||
|
|
||||||
self.runner = ONNXModelRunner(
|
self.runner = ONNXModelRunner(
|
||||||
os.path.join(self.download_path, self.model_file),
|
os.path.join(self.download_path, self.model_file),
|
||||||
device=self.config.face_recognition.device
|
device=self.config.face_recognition.device or "GPU",
|
||||||
or "GPU",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def _preprocess_inputs(self, raw_inputs):
|
def _preprocess_inputs(self, raw_inputs):
|
||||||
|
Loading…
Reference in New Issue
Block a user