We'll be performing Hyperparameter Tuning on an image classification dataset known as 'Horses or Humans'. You can run the trained model on a Raspberry Pi. To get started, go to this Python notebook. Generate the required TFLite assets from it and copy over to the Raspberry Pi device.
To install the Python dependencies, run:
pip install -r requirements.txt
Next, to run the code on Raspberry Pi, use classify.py
as follows:
python3 classify.py --filename input.jpg --model_path converted_model.tflite