mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 16:44:29 +03:00
Fix check
This commit is contained in:
parent
3b0724f3dd
commit
a70914d026
@ -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