Downloads · 30 days
4
1% of all-time downloads
adam-bourne/food-classifier
food-classifier is a image classification model from adam-bourne. Use it when you need a label for an image. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the food101 dataset. It achieves the following results on the evaluation set: - Train Loss: 0.2136 - Validation Loss: 0.2284 - Train Accuracy:…
Downloads · 30 days
4
1% of all-time downloads
All-time downloads
525
Public
Repo size
344 MB
Likes
0
Public
Click a slice to open those files.
.h5344 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the food101 dataset. It achieves the following results on the evaluation set:
This is an image classification model fine tuned from the Google Vision Transformer (ViT) to classify images of food.
For messing around!
The training set contained 101 food classes, over a dataset of 101,000 images. The train/eval split was 80/20
The following hyperparameters were used during training:
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|---|---|---|---|
| 0.3409 | 0.2903 | 0.932 | 0 |
| 0.2838 | 0.2897 | 0.917 | 1 |
| 0.2415 | 0.2869 | 0.914 | 2 |
| 0.2143 | 0.2630 | 0.924 | 3 |
| 0.2136 | 0.2284 | 0.94 | 4 |