Keras: Loading and Processing Images in Batches
Hands-on Practice of Using Dataset Object
3 min readJan 16, 2021
In the image recognition field, the general training set could take from GB to TB size, with each image growing bigger and bigger, there is no way to preload all images into the memory and do a model training. In this article, we will touch on how to make use of some handy functions in Keras to load images in batches without busting your RAM.