update loading script
Browse files
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("
|
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 |
|