clipping input data to the valid range for imshow with rgb data ( 0..1 for floats code example
Example 1: Clipping input data to the valid range for imshow suppress
Add astype('uint8'):
plt.imshow(results.astype('uint8'))
Example 2: Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers)
np.array(img,np.int32)
or
If you want to show it, you can use img/255