Couper les données d'entrée sur la plage valide pour IMShow Supprime
Add astype('uint8'):
plt.imshow(results.astype('uint8'))
Bored Coder
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