mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Fix check
This commit is contained in:
parent
31999512f8
commit
1b97e4a261
@ -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