Add astype('uint8'): plt.imshow(results.astype('uint8'))
np.array(img,np.int32) or If you want to show it, you can use img/255