pascal-5 icon indicating copy to clipboard operation
pascal-5 copied to clipboard

plt.imread error

Open YCWangVince opened this issue 5 years ago • 0 comments

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

YCWangVince avatar Dec 14 '20 15:12 YCWangVince