Collaborative-Diffusion icon indicating copy to clipboard operation
Collaborative-Diffusion copied to clipboard

about segmentation masks

Open jupytera opened this issue 1 year ago • 3 comments

Hello, I think your work is excellent and inspiring. May I ask if you have the code to convert facial images into segmentation masks? Thank you very much!

jupytera avatar Jul 13 '24 01:07 jupytera

Hi, we used the segmentation masks provided in the CelebAMask-HQ dataset: https://github.com/switchablenorms/CelebAMask-HQ They also provided a face parsing network that you can use.

ziqihuangg avatar Jul 16 '24 06:07 ziqihuangg

Thank you very much for your answer. Therer is another question I am eager to get answer. During training, I generated mask_gs.png as shown. Is this intended to help the model learn completion by erasing images at fixed positions?Thank you for your help again. $1HA )UU~XOFKQY 6YOX4

jupytera avatar Jul 16 '24 07:07 jupytera

Hi, I’m not entirely sure I understand how this mask pattern relates to the face generation task. Could you kindly elaborate?

ziqihuangg avatar Apr 28 '25 17:04 ziqihuangg