deepinsight / deepinsight/insightface

I am getting this Indexerror while using GPU

Open
#2,533 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29.7k
Forks
6.1k
PR merge metrics
No merged PRs in 30d

Description

To use the future default and silence this warning we advise to pass `rcond=None`, to keep using the old, explicitly pass `rcond=-1`.
P = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4
Traceback (most recent call last):
File "/home/swuser/face_pyqt5/trial.py", line 30, in
bed_frame = fac_rec.face_recognition(frame,dataframe=df,feature_column="facial_feature",name_role=["name","role"],thresh=0.5)
File "/home/swuser/face_pyqt5/fac_rec.py", line 52, in face_recognition
results = faceapp.get(frame)
File "/home/swuser/lib/python3.10/site-packages/insightface/app/face_analysis.py", line 75, in get
model.get(img, face)
File "/home/swuser/lib/python3.10/site-packages/insightface/model_zoo/landmark.py", line 91, in get
pred = self.session.run(self.output_names, {self.input_name : blob})[0][0]
IndexError: list index out of range

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.