food-101-resnet50 / gradio_article.md
suvash's picture
add a note about example images
47ce2e3

A newer version of the Gradio SDK is available: 5.5.0

Upgrade

Dataset

The Food-101 dataset, originally made available at https://data.vision.ee.ethz.ch/cvl/datasets_extra/food-101/ is a data set of 101 food categories, with 101'000 images.

Training

Fast.ai was used to train this classifier with a ResNet50 vision learner, without much customization.

The final fine tuning of the training loop resulted in the following losses.

epoch train_loss valid_loss error_rate time
0 1.358123 1.100139 0.288713 05:14
1 1.129988 0.985213 0.260693 05:12
2 0.964907 0.909715 0.241337 05:17
3 0.804738 0.843515 0.222475 05:19
4 0.638846 0.795957 0.205347 05:16
5 0.475434 0.750069 0.192673 05:15
6 0.345060 0.742432 0.185198 05:12
7 0.247938 0.728758 0.177624 05:12
8 0.214708 0.727486 0.177871 05:11

Examples

The example images provided in the demo are not from the dataset. They were quickly sourced via a couple of DuckDuckGo searches.