Note
It's recommended to use Python 3.11.x
- Create a
datasetfolder. - Create subfolders (example: dog, cat, fish, bird) and populate them.
- Run
python src/fine_tune_from_base.py.
When its finished it will return a checkpoint file.
- Run
python src/convert_to_tflite.py.
This will return a tflite and labels.txt file.
- Run
python src/add_metadata_to_tflite.py.
Tip
Fine-tuned models are used in conjunction with the Vision Classification project, utilizing its Mediapipe Image Classification task.
Notice: This project was initally created to be used in-house, as such the development is first and foremost aligned with the internal requirements.