Skip to content Skip to sidebar Skip to footer

Resize Mnist Images Before Training Using Keras

I have been working on a project involving CNN and its weights and I have been trying to reduce the number of weights present in the CNN. I want to resize the MNIST images from 28x

Solution 1:

The default load_data function doesn't have any options for on the fly modification such as resize. Since you have NumPy arrays now, you have to pre-process, resize the images as arrays. Here is a post about resizing NumPy arrays as images.


Post a Comment for "Resize Mnist Images Before Training Using Keras"