Easy-to-use library for extending Sri Lankan food recognition models
Project description
🍛 Sri Lankan Food Trainer
Easy-to-use Python library for extending Sri Lankan food recognition models with your own classes!
Installation
pip install srilankan-food-trainer
Quick Start
from srilankan_food_trainer import FoodModelExtender
# 1. Create extender
extender = FoodModelExtender()
# 2. Add your class
extender.add_class("potato_curry", "/path/to/images.zip")
# 3. Train
extender.train()
# 4. Save
extender.save("my_model.pth")
Features
- ✅ Download pre-trained model automatically
- ✅ Add custom food classes with minimal code
- ✅ Few-shot learning support
- ✅ Easy model export
Requirements
- Python 3.8+
- PyTorch 2.0+
- GPU recommended (but works on CPU)
License
MIT License - see LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file srilankan_food_trainer-0.1.0.tar.gz.
File metadata
- Download URL: srilankan_food_trainer-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae3678e6a4b9def1b7ef0a6a2f25176665a4258fcd4a8ca887636266f5588b0a
|
|
| MD5 |
0e024d97e1addac67d4d463418c5d4bb
|
|
| BLAKE2b-256 |
614011916be11acc85ae657589ed87cef7672164376065a7ac07eb83396e644e
|
File details
Details for the file srilankan_food_trainer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: srilankan_food_trainer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f92dca6175a399a5afbb50c74eba1687d30f60b1bea891ac6ceeb1524e72c8a1
|
|
| MD5 |
71ba47ab8791fb6ffbc354a7185cc2fe
|
|
| BLAKE2b-256 |
1a91f2536d7a977525ed389487b64df8c4b3cb235b9feb4fd207e606ef628d09
|