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
Using FaceRestoreHelper needs with threading.Semaphore() to work within threads. I experienced this first in GFPGAN and later in our custom implementations.
This limits performance of GFPGAN a lot!
The text was updated successfully, but these errors were encountered:
"facexlib\utils\face_restoration_helper.py", line 151, in get_face_landmarks_5
self.det_faces.append(bbox[0:5])
AttributeError: 'numpy.ndarray' object has no attribute 'append'"?
May I ask where to add with threading.Semaphore()? I also want to work with multithreads.
Using FaceRestoreHelper needs
with threading.Semaphore()
to work within threads. I experienced this first in GFPGAN and later in our custom implementations.This limits performance of GFPGAN a lot!
The text was updated successfully, but these errors were encountered: