pascal-5
pascal-5 copied to clipboard
plt.imread error
I think there is a small error on plt.imread('....png')
plt.imread got a 4 channel .png images. The first three channels are RGB, respectively, and the fourth channel is the maximum value=1.0 for each pixel.
groundtruth=groundtruth[:,:,:-1] is needed to remove the fourth channel below line 26 in script.imgProcess.py