Open charliewang789 opened 3 years ago
Hi! I also meet this question, I want to ask if you have solved this problem? Thank you very much!
I met the same issue. Maybe some nuances in the path that you have to modify.
Me too, any update on this. I noticed that the CelebAMask-HQ-mask-anno folder just contains few folders (0, 1, 10, 11, 12, 13) while the g_mask requires 0->14 folders. Where are the others?
I figured it out. We need to change the folder name 'CelebAMaskHQ-mask-anno' to 'CelebAMask-HQ-mask-anno' in the g_mask.py to match with the folder name in the dataset first.
Anyone facing this problem, can do this simple step:
cv2.imwrite(filename_save, im_base) TO cv2.imwrite(filename_save, im_base*255)
could you please let me know why the mask files generated are all blank?