Question: Now it's time to load the train and validation datasets. Pick the right folders, as well as the right target _ size of the images
Now it's time to load the train and validation datasets. Pick the right folders, as well as the right targetsize of the images it needs to match the height and width input of the model you've created If you'd like a reference, you can check out notebook b
# load and iterate training dataset
trainit datagen.flowfromdirectorydatafruits
targetsize
colormodergb
classmode"categorical"
# load and iterate validation dataset
validit datagen.flowfromdirectorydatafruits
targetsize
colormodergb
classmode"categorical"
Found images belonging to classes.
Found images belonging to classes.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
