import os import numpy as np from keras.preprocessing.image import load_img, img_to_array filePath = \'PetImages/\' photos, labels = list(), list() width = 100 height