I am trying to upscale the MNIST handwritten digit images before training. But both cv2.resize() and skimage.transform.resize throws : ValueError: could not broadcast input array from shape (150,150) into shape (28,28)
for i in range(len(X_train)):
X_train[i] = resize(X_train[i], (150,150))
X[i]=...assignment, not theresize. What's theshapeofX_train? - hpauljtmp = resize(X_train[i], (150,150))- Rotem