mrdbourke commited on
Commit
c2660a5
1 Parent(s): 0b998a2

update loading script

Browse files
Files changed (1) hide show
  1. food_vision_199_classes.py +1 -1
food_vision_199_classes.py CHANGED
@@ -275,6 +275,6 @@ class Food199(datasets.GeneratorBasedBuilder):
275
  """
276
  for id_, row in enumerate(annotations):
277
  row["image"] = str(row.pop("filename"))
278
- row["label"] = row.pop("label")
279
  yield id_, row
280
 
 
275
  """
276
  for id_, row in enumerate(annotations):
277
  row["image"] = str(row.pop("filename"))
278
+ row["label"] = row.pop("class_name")
279
  yield id_, row
280