we'll create any generator object in the abstract I'll tell it that we want to apply the ResNet pre-processing function every time it reads an image you use this function before to be consistent with how the rezident model is created then we use the flow from directory command we tell it what directory that data is in what size image we want how many images to read in at a time and we tell it we're classifying data into different categories well add batch size to our list of information covered in the upcoming theory video for now assume