switchablenorms / CelebAMask-HQ

A large-scale face dataset for face parsing, recognition, generation and editing.
2.04k stars 343 forks source link

confuse with labels and class name not matched #99

Open showkeyjar opened 2 years ago

showkeyjar commented 2 years ago

I use face-parsing.PyTorch to split human face, but get strange results, here is my class name orders: ['hair', 'l_brow', 'r_brow', 'l_eye', 'r_eye', 'eye_g', 'l_ear', 'r_ear', 'ear_r', 'nose', 'mouth', 'skin', 'u_lip', 'l_lip', 'neck', 'neck_l', 'cloth', 'bg', 'hat'] and the results: parsing_face it sames that it can not recognize right class?

manadopeee commented 9 months ago

See here

https://github.com/switchablenorms/CelebAMask-HQ/tree/master/face_parsing

0: 'background' | 1: 'skin' | 2: 'nose' 3: 'eye_g' | 4: 'l_eye' | 5: 'r_eye' 6: 'l_brow' | 7: 'r_brow' | 8: 'l_ear' 9: 'r_ear' | 10: 'mouth' | 11: 'u_lip' 12: 'l_lip' | 13: 'hair' | 14: 'hat' 15: 'ear_r' | 16: 'neck_l' | 17: 'neck' 18: 'cloth' |