Closed JimjimChen closed 2 years ago
It seems that your data is incorrect. Please follow readme and generate the correct data.
Download CelebAHQ-Mask dataset. Generate
CelebAMask-HQ-mask
andCelebAMask-HQ-mask-color
with the provided scripts in CelebAMask-HQ/face_parsing/Data_preprocessing/.
After that, put the folder CelebAMask-HQ-mask
and CelebAMask-HQ-mask-color
under ../datasets/CelebAMask-HQ
It seems that your data is incorrect. Please follow readme and generate the correct data.
Download CelebAHQ-Mask dataset. Generate
CelebAMask-HQ-mask
andCelebAMask-HQ-mask-color
with the provided scripts in CelebAMask-HQ/face_parsing/Data_preprocessing/.After that, put the folder
CelebAMask-HQ-mask
andCelebAMask-HQ-mask-color
under../datasets/CelebAMask-HQ
Many thanks!I have another question: when I finished generating 'CelebAMask-HQ-mask' , is the next step to run 'g_color.py’ directly?
When I run 'g_color.py' , I met a error : NameError : name 'im_base' is not defined. Do you know how to fix it?
Actually, training FPN does not need the colored mask. Please refer to the code:
You may simply put the generated mask folder CelebAMask-HQ-mask
and corresponding image folder CelebA-HQ-img
under the dataroot
.
First of all, thank you very much for your work. I met the above problem when I trained FPN. Do you know how to solve it? Looking forward to your reply.