Use the following command to load this dataset in TFDS:

ds = tfds.load('huggingface:food101')
  • Description:
This dataset consists of 101 food categories, with 101'000 images. For each class, 250 manually reviewed test images are provided as well as 750 training images. On purpose, the training images were not cleaned, and thus still contain some amount of noise. This comes mostly in the form of intense colors and sometimes wrong labels. All images were rescaled to have a maximum side length of 512 pixels.


  • The Food-101 data set consists of images from Foodspotting [1] which are not property of the Federal Institute of Technology Zurich (ETHZ). Any use beyond scientific fair use must be negociated with the respective picture owners according to the Foodspotting terms of use [2].

[1] [2]

  • Version: 0.0.0
  • Splits:
Split Examples
'train' 75750
'validation' 25250
  • Features:
    "image": {
        "id": null,
        "_type": "Image"
    "label": {
        "num_classes": 101,
        "names": [
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"