Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

please remove those 2 lines:

        x_train.append(path) #Verify the image and convert into gray and numpy array
        y_lebels.append(label) # some number for our labels

(you're trying to append a string to the image list)