polinaeterna HF staff commited on
Commit
09be668
1 Parent(s): da72aa1

Update test_verifications.py

Browse files
Files changed (1) hide show
  1. test_verifications.py +2 -0
test_verifications.py CHANGED
@@ -289,6 +289,8 @@ class Food199(datasets.GeneratorBasedBuilder):
289
  annotations = annotations_df[["image", "label"]][annotations_df["split"] == "test"].to_dict(orient="records")
290
 
291
  for id_, row in enumerate(annotations):
 
 
292
  # print(row["image"])
293
  row["image"] = str(row.pop("image"))
294
  row["label"] = row.pop("label")
 
289
  annotations = annotations_df[["image", "label"]][annotations_df["split"] == "test"].to_dict(orient="records")
290
 
291
  for id_, row in enumerate(annotations):
292
+ if id_ == 100:
293
+ break
294
  # print(row["image"])
295
  row["image"] = str(row.pop("image"))
296
  row["label"] = row.pop("label")