You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] loading face embeddings...
[INFO] encoding labels...
[INFO] training model...
Traceback (most recent call last):
File "train_model.py", line 29, in
recognizer.fit(data["embeddings"], labels)
File "C:\Users\Tamajit\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\svm_base.py", line 173, in fit
y = self._validate_targets(y)
File "C:\Users\Tamajit\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\svm_base.py", line 558, in _validate_targets
raise ValueError(
ValueError: The number of classes has to be greater than one; got 1 class
The text was updated successfully, but these errors were encountered:
[INFO] loading face embeddings...
[INFO] encoding labels...
[INFO] training model...
Traceback (most recent call last):
File "train_model.py", line 29, in
recognizer.fit(data["embeddings"], labels)
File "C:\Users\Tamajit\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\svm_base.py", line 173, in fit
y = self._validate_targets(y)
File "C:\Users\Tamajit\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\svm_base.py", line 558, in _validate_targets
raise ValueError(
ValueError: The number of classes has to be greater than one; got 1 class
The text was updated successfully, but these errors were encountered: