Closed opptimus closed 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
File "demo.py", line 105, in open_mask image.setPixel(i, j, color_list[r].rgb()) IndexError: list index out of range
I solve this problems by myself!
Hi! I meet the same question,Can you tell me why? Thank you very much!
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