Hi Guys,
I am trying to run the below CNN code in my system, but it is showing me an error.
import sys
os sys.path.append(os.pardir)
import numpy as np
from dataset.mnist import load_mnist
from PIL import Image
def img_show (img) :
pil_img = Image.fromarray(np.unit8(img))
pil_img.show()
module 'numpy' has no attribute 'unit8'
How can I solve this error?