Replies: 1 comment
-
@mkewal Sorry for the delay in getting back to you. The masks just look black then you view them using, say, the native Windows photo viewer. This is because this is a multi-class classification problem and the pixels have specific meaning. So a value of 1 means mostly_tumor, for example. Use something like this to view the masks instead: import matplotlib.pylab as plt
from imageio import imread
mask = imread('/path/to/mask.png')
plt.imshow(mask)
plt.show() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should the image masks be coming up as black images, or is there an error when I am downloading the masks?
Beta Was this translation helpful? Give feedback.
All reactions