Classifying Cats and Dogs in Raspberry Pi
Classifying Cats and Dogs in Raspberry Pi
This is the code repository of performing Transfer Learning on a pretrained model for Cats vs Dogs Image Classification task to be run on Edge device of Raspberry Pi. To get started, go through this Python notebook. Generate the required TFLite assets from it.
Prerequisites
To install the Python dependencies, run:
pip install -r requirements.txtNext, to run the code on Raspberry Pi, use classify.py as follows:
python3 classify.py --filename input.jpg --model_path converted_model.tflite