face-parsing.PyTorch icon indicating copy to clipboard operation
face-parsing.PyTorch copied to clipboard

Could you tell me how to get the black mask like hair.png. Thanks a lot! My experiment results of mask is colourful

Open yql0612 opened this issue 4 years ago • 8 comments

yql0612 avatar Jan 19 '21 07:01 yql0612

f

3shry avatar May 16 '21 10:05 3shry

Have you already solved this problem?Could you tell me how to do it?Thanks sincerely.

T-xu avatar Nov 15 '21 04:11 T-xu

save question!!!!!!!!!!!!!

shenhaiyoulan avatar Dec 14 '21 09:12 shenhaiyoulan

您的邮件我已收到。祝一切顺利!

yql0612 avatar Dec 14 '21 09:12 yql0612

您的邮件我已经收到了。祝一切顺利!

Hello, I have the same problem. How did you get the black mask?

an-zi-li avatar Mar 15 '22 02:03 an-zi-li

您的邮件我已收到。祝一切顺利!

yql0612 avatar Mar 15 '22 02:03 yql0612

@yql0612 @an-zi-li @shenhaiyoulan Have you already solved this problem?Could you tell me how to do it?Thank you so so much!!!

weiweiecho avatar Mar 22 '22 01:03 weiweiecho

It is not a black mask; it is simply mask data. The reason it appears "black" is likely because the ID for the component falls between 0 and 12, assuming there are 13 components. Since the pixel values of an image range from 0 to 255, the mask data appears black when visualized as an image.

wztdream avatar Jul 03 '23 16:07 wztdream