Open zshyang opened 2 years ago
Hi You could just load the mask (remember to set a threshold to keep only the face) and multiply it with the RGB image to remove the background. Also, I would suggest using resize function from Pillow (https://pillow.readthedocs.io/en/stable/). Set argument to PIL.Image.LANCZOS for the best result.
Steps:
Hi, Thanks for sharing this repo. Could you guide me on how to process the CelebAHQ dataset as you've mentioned in your homepage? Best regards.