This python program uses CNN(convolutional neural network) to predict an image is dog or cat.
This python program runs in jupyter notebook. So, copy the .ipynb file to your dataset folder location. For reference where to keep the .ipynb file check the Reference.PNG file.
My dataset folder had three sub-folders. Check out the sub-folder.PNG file.
The train and test folder had cat and dog images and them single predictor had images that we want to predict.