Files
mrdbourke--pytorch-deep-lea…/demos/README.md
T
wehub-resource-sync 37c25cd088
make_docs / deploy (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:27:58 +08:00

1.6 KiB

FoodVision Demos

The .zip files contained in this folder contain the files for creating the FoodVision Mini and FoodVision Big demos.

The code to create these can be found in 09. PyTorch Model Deployment.

Each .zip folder contains:

  • model.py - a file defining the model architecture used for the demo.
  • app.py - a file defining the Gradio demo application.
  • *.pth - a trained PyTorch model file with the same architecture as in model.py.
  • requirements.txt - a list of required packages for deploying the app.
  • examples/ - a folder containing various image examples to try with the demo.

You can see a deployed version of each demo on HuggingFace Spaces:

App What does it do? Live demo See files Download files
FoodVision Mini Classifies an image of food into pizza 🍕, steak 🥩 or sushi 🍣. Demo Files Download foodvision_mini.zip
FoodVision Big 💪 Classifies an image of food into 101 different food classes from the Food101 dataset. Demo Files Download foodvision_big.zip