This project is an image classifier that is trained to distinguish between cats and dogs in images.
The purpose of this project is not to produce as optimized and computationally effective classifer as possible. The main goal of the project is to get some expirience in building classifier and writing deep learning related Python code.
LEARNING AND HAVING FUN
-
- This file contains the main code for image preprocessing and neural network construction-learning. You can train a neural network on your own or use an existing version, the accuracy of which exceeds 91%!
- I used feature extraction (transfer learning) from MobileNetV2!
- That's how block of MobileNetV2 looks like:
-
- This file runs the classification on the selected image. It should be run to correctly classify the image.WARNINGS are hidden!
-
- This folder contains poorly trained ALEX-NET neural network.
-
- This folder contains pre-trained mobile-netv2 neural network(feature extraction) with a flatten and dense layers on top of it! This one gets 91% accuracy on 100 valid cat-dog images.
-
- This folder contains training and test images, that this neural network was trained and tested on!
git clone https://github.com/mishazakharov/ImageClassificator
cd ImageClassificator
python3 run.py
In case you want to train Alex-Net yourself:
python3 classi.py
In case you want to retrain dense layers in Mobile-NetV2 yourself:
python3 classifier.py
If you want to work on this together or just feeling social, feel free to contact me here. And I am also available at this([email protected]) and this([email protected]) email addresses! Feel free to give me any advice. 👍