Update README.md
Browse files
README.md
CHANGED
@@ -1,29 +1,44 @@
|
|
1 |
---
|
2 |
tags:
|
3 |
-
- autotrain
|
4 |
- vision
|
5 |
- image-classification
|
6 |
datasets:
|
7 |
- Kaludi/autotrain-data-updated-food-category-classification
|
8 |
widget:
|
9 |
-
- src: https://
|
10 |
-
example_title:
|
11 |
-
- src: https://
|
12 |
-
example_title:
|
13 |
-
- src: https://
|
14 |
-
example_title:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
co2_eq_emissions:
|
16 |
emissions: 12.456278925446485
|
17 |
---
|
18 |
|
19 |
-
#
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
- Problem type: Multi-class Classification
|
22 |
- Model ID: 3353292434
|
23 |
- CO2 Emissions (in grams): 12.4563
|
24 |
-
|
25 |
-
## Validation Metrics
|
26 |
-
|
27 |
- Loss: 0.144
|
28 |
- Accuracy: 0.960
|
29 |
- Macro F1: 0.959
|
|
|
1 |
---
|
2 |
tags:
|
|
|
3 |
- vision
|
4 |
- image-classification
|
5 |
datasets:
|
6 |
- Kaludi/autotrain-data-updated-food-category-classification
|
7 |
widget:
|
8 |
+
- src: https://static01.nyt.com/images/2021/08/30/dining/as-grilled-cheese-sandwich-on-the-grill/as-grilled-cheese-sandwich-on-the-grill-articleLarge.jpg
|
9 |
+
example_title: Bread
|
10 |
+
- src: https://cdn.britannica.com/34/176234-050-0E0C55C6/Glass-milk.jpg
|
11 |
+
example_title: Dairy Product
|
12 |
+
- src: https://images-gmi-pmc.edge-generalmills.com/7c1096c7-bfd0-4806-a794-1d3001fe0063.jpg
|
13 |
+
example_title: Dessert
|
14 |
+
- src: https://theheirloompantry.co/wp-content/uploads/2022/06/how-to-fry-eggs-perfectly-in-4-ways-the-heirloom-pantry.jpg
|
15 |
+
example_title: Egg
|
16 |
+
- src: https://www.mashed.com/img/gallery/the-real-reason-fried-foods-are-so-popular-right-now/l-intro-1650327494.jpg
|
17 |
+
example_title: Fried Food
|
18 |
+
- src: https://www.seriouseats.com/thmb/WzQz05gt5witRGeOYKTcTqfe1gs=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/butter-basted-pan-seared-steaks-recipe-hero-06-03b1131c58524be2bd6c9851a2fbdbc3.jpg
|
19 |
+
example_title: Meat
|
20 |
+
- src: https://assets3.thrillist.com/v1/image/3097381/1200x600/scale;
|
21 |
+
example_title: Seafood
|
22 |
+
- src: https://i0.wp.com/post.healthline.com/wp-content/uploads/2020/03/romaine-lettuce-1296x728-body.jpg?w=1155&h=1528
|
23 |
+
example_title: Vegetable-Fruit
|
24 |
co2_eq_emissions:
|
25 |
emissions: 12.456278925446485
|
26 |
---
|
27 |
|
28 |
+
# Updated Food Category Classification
|
29 |
|
30 |
+
This is an updated Food Category Image Classifier model of the [old](https://huggingface.co/Kaludi/food-category-classification) model that has been trained by [Kaludi](https://huggingface.co/Kaludi) to recognize 12 different categories of foods, which includes **Bread**, **Dairy**, **Dessert**, **Egg**, **Fried Food**, **Fruit**, **Meat**, **Noodles**, **Rice**, **Seafood**, **Soup**, and **Vegetable**. It can accurately classify an image of food into one of these categories by analyzing its visual features. This model can be used by food bloggers, restaurants, and recipe websites to quickly categorize and sort their food images, making it easier to manage their content and provide a better user experience.
|
31 |
+
|
32 |
+
### Gradio
|
33 |
+
|
34 |
+
Tis model supports a [Gradio](https://github.com/gradio-app/gradio) Web UI to run the data-food-classification model:
|
35 |
+
[![Open In HF Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/Kaludi/Updated-Food-Category-Classification_App)
|
36 |
+
|
37 |
+
|
38 |
+
## Validation Metrics
|
39 |
- Problem type: Multi-class Classification
|
40 |
- Model ID: 3353292434
|
41 |
- CO2 Emissions (in grams): 12.4563
|
|
|
|
|
|
|
42 |
- Loss: 0.144
|
43 |
- Accuracy: 0.960
|
44 |
- Macro F1: 0.959
|