About the Cat, Dog Wild Animal Face Classification
Cat, Dog and Wild Animal Face Classification is a Convolution Neural Network in Deep Learning which classifies that the given face image is a dog face or cat face or wild animal face. Cat Dog and Wild Animal Face classifier is trained by following steps which are given below:
- Import required libraries (tensorflow, numpy, keras etc).
- Data Preprocessing (Data Augmentation) => Data Augmentation is basically used to generate multiple images from a single.
- Transfer Learning => Transfer Learning is the reuse of a pre-trained model on a new problem. It's currently very popular in deep learning because it can train deep neural network with comparatively little data.
- Train model.
- Evaluation.
- Test a model
A convolutional neural network (CNN) is a type of artificial neural network used in image recognition and processing that is specifically designed to process pixel data.
CNNs are powerful image processing, artificial intelligence (AI) that use deep learning to perform both generative and descriptive tasks, often using machine vison that includes image and video recognition, along with recommender systems and natural language processing (NLP).
About the dataset
There are three domains of classes, each providing about 5000 images. By having multiple (three) domains and diverse images of various breeds per each domain, AFHQ sets a challenging image-to-image translation problem. The classes are:
- Cat
- Dog
- Wildlife
Source code and how to use:
- Go to my github and download code : Cat Dog and Wild Animal's Face Classification
- Download pretrained mode : dog_cat_wild_face_classifier.h5
- After download, Extract the folder where you will get a two folders static and templates , one python file, one dataset file, one jupiter notebook file and some test images.
- Go into the folder.
- Open the command prompt and go to the project folder with cd command.
- Write (python Image_Classification.py) in your prompt.
- You get a link like this (http://127.0.0.1:5000/).
- Paste in the Chrome or any browser.
- Now you can use the model.
If you want to train your own model then you can again run the jupiter notebook file (CAT_DOG_WILD_ANIMAL_FACE_CLASSIFIER.ipynb) and follow all process to train the model and after traing you got a trained model with .h5 file extension.
Video Tutorial
Thanks for reading




