Closed ChrisFH97 closed 5 years ago
Better late than never...
You're loading images with different sizes which makes it impossible for numpy to determine the dimensions. I used opencv to resize, but you can use PIL or skimage.
import cv2
X = np.array([cv2.resize(i, (256, 256)) for i in X], dtype=float)
X = np.array(X, dtype=float) ValueError: setting an array element with a sequence on Line 15
Any reason why this would happen