YuchenZhang
YuchenZhang
I meet the same err. It is raised from 'construct_A_matrix()' and index out of bounds. Could you please tell me how do you fixed it ? Thank you very much!
Well, I just simply add a index check : ` def construct_A_matrix(self): n1_pos = np.searchsorted(self.mask_ids, self.inner_ids - 1) n2_pos = np.searchsorted(self.mask_ids, self.inner_ids + 1) n3_pos = np.searchsorted(self.mask_ids, self.inner_ids - self.img_w)...
Thank you for your reply. But when I used the re-render method you provided, I found that when re-rendering the edited face image output by HFGI or Styleclip back to...
感谢作者优秀的工作。同问作者,是如何在render时候精准地确定编辑后的人脸在原图中的位置,而尽量防止出现伪影的呢? 谢谢,祝工作顺利!
哦😯,做个逆变换就可以了,了解了