Update test.py
Browse files
test.py
CHANGED
|
@@ -570,7 +570,7 @@ class Food500(datasets.GeneratorBasedBuilder):
|
|
| 570 |
if file_path == _TRAIN_TXT:
|
| 571 |
#train_set = set(file_obj.read().split("\n"))
|
| 572 |
#train_set = {path.encode("utf-8") for path in train_set}
|
| 573 |
-
train_set =
|
| 574 |
"""if file_path == _VALID_TXT:
|
| 575 |
# valid_set = set(file_obj.read().split("\n"))
|
| 576 |
# valid_set = {path.encode("utf-8") for path in valid_set}
|
|
|
|
| 570 |
if file_path == _TRAIN_TXT:
|
| 571 |
#train_set = set(file_obj.read().split("\n"))
|
| 572 |
#train_set = {path.encode("utf-8") for path in train_set}
|
| 573 |
+
train_set = set(("Abalone/Abalone_0001.jpg".encode("utf-8")))
|
| 574 |
"""if file_path == _VALID_TXT:
|
| 575 |
# valid_set = set(file_obj.read().split("\n"))
|
| 576 |
# valid_set = {path.encode("utf-8") for path in valid_set}
|