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
There is an issue in the crop_frames_and_get_transforms function in util/inference/video_processing.py. The keypoint array indexing is incorrect, which causes the keypoints to be appended to the wrong list. When target face count is set to be >1 (multiple faces), result video would be wrong.
Current Code
for q in range (len(target_embeds)):
kps_array[0].append([])
Suggested Fix
The indexing should be corrected to append the keypoints to the correct list:
for q in range (len(target_embeds)):
kps_array[q].append([])
The text was updated successfully, but these errors were encountered:
Description
There is an issue in the
crop_frames_and_get_transforms
function inutil/inference/video_processing.py
. The keypoint array indexing is incorrect, which causes the keypoints to be appended to the wrong list. When target face count is set to be >1 (multiple faces), result video would be wrong.Current Code
Suggested Fix
The indexing should be corrected to append the keypoints to the correct list:
The text was updated successfully, but these errors were encountered: