yw26342 commited on
Commit
b1a79a2
·
1 Parent(s): 00f863e

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
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 = {"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}
 
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}