Closed aesanchezgh closed 2 years ago
You may check the result of _swapped_face_ here. Is it black? swappedface = self.postprocess(swapped_face_, tgt_face_rgb, tgt_mask)
Got it, just needed to create the correct mask. Thanks!
Same problem. How do you solve it? I use GT mask of CelebAHQ. @cwalt2014
Hi,I check that swapped_face is not black, any suggestions? @zyainfal
If swapped_face is not black, your mask should be incorrect. Take care of the mask value and shape.
HI,
I set up the environment exactly as you described. I checked the images before they became tensors in preprocess and are correct. After swap, I do this:
The resulting image is black. Any idea what is wrong? Any other step I can do to debug?
Thanks!