mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-14 00:17:05 +01:00
Fix check
This commit is contained in:
parent
755c9eea1c
commit
102a7695a3
@ -183,7 +183,7 @@ class FaceClassificationModel:
|
||||
|
||||
res = self.classifier.predict([embedding])
|
||||
|
||||
if not res:
|
||||
if res is None:
|
||||
return None
|
||||
|
||||
label = res[0]
|
||||
|
Loading…
Reference in New Issue
Block a user