switchablenorms / CelebAMask-HQ

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

wrong with run MaskGAN_demo #80

Closed opptimus closed 3 years ago

opptimus commented 3 years ago

python demo python demo.py I can see the gui,however when I open mask image(click the open_mask button ): File "demo.py", line 105, in open_mask image.setPixel(i, j, color_list[r].rgb()) IndexError: list index out of range

opptimus commented 3 years ago

I solve this problems by myself!

changrannn commented 3 years ago

Hi! I meet the same question,Can you tell me why? Thank you very much!