mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix check
This commit is contained in:
parent
1cddb2c18d
commit
4344a4a144
@ -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