for i in range(len(train_data)): train_data[i][0] = cv2.resize(train_data[i][0],(50,50)) train = train_data[:18000] cv = train_data[18000:] X = np.array([