Images from folders?

we are creating new folders but here are we given 808 images of 4 categories right? but we dont know the output that is computer dont knw that this is image of dog or cat then how come are we training this to computer?
we dont have dataset here we just have 808 images right?

Hi suppose that you have 4 folders one for each class, now while giving the path to flow_from _directory, while going in first class it will know that all these images belong to class one and so on. And while performing transformations also, lets say it is performing transformation on one picture from cat class folder, then it will know that it is performing transformation on cat folder and thus the new generated image will be of cat class.
So basically, the unique folder names are the unique classes.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.