why are we going to pass 100 images in every epoch . 20 images should have been passed in each epoch as we have divided these 100 images into 5 batches
Images passed in each epoch
hey @Par1hsharma ,
20 images will be provided in each batch , but those 5 batches would be provided in each epoch.
hence total 100 images
forming batches were mean to reduce load on memory . Even though 20 images are passed in each epoch memory has to load all 100 images . if we have more Than 1 million images . this means that 1 million images will be loaded every time irrespective of batch size ? hence the load is not reduced
Yes it will be.
The load is reduced naa… Everytime , only 20 images are being saved into memory for usage.
SO, the load on memory gets reduced. yeah it will take a bit time more , but not will be any memory issue on it.