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
Running into a numpy ValueError: need at least one array to stack when running the pipeline on a frame of video that has no faces detected. Seems to point back to line 90 in the Pipeline file: pitch, yaw = self.predict_gaze(np.stack(face_imgs)). Using Numpy 1.24.3
My guess is that this is due to face_imgs being an empty list when there are no detected faces. Working on a fix in my fork and will PR when complete.
The text was updated successfully, but these errors were encountered:
kbvatral
added a commit
to kbvatral/L2CS-Net
that referenced
this issue
Sep 28, 2023
Running into a numpy
ValueError: need at least one array to stack
when running the pipeline on a frame of video that has no faces detected. Seems to point back to line 90 in the Pipeline file:pitch, yaw = self.predict_gaze(np.stack(face_imgs))
. Using Numpy 1.24.3My guess is that this is due to
face_imgs
being an empty list when there are no detected faces. Working on a fix in my fork and will PR when complete.The text was updated successfully, but these errors were encountered: