minnnnn commited on
Commit
2e301fa
·
1 Parent(s): d7d87bd

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +3 -3
test.py CHANGED
@@ -58,15 +58,15 @@ class imgdataset(datasets.GeneratorBasedBuilder):
58
  # These kwargs will be passed to _generate_examples
59
  gen_kwargs={
60
  "filepath": os.path.join(downloaded_files['train']),
61
- "split": "train",
62
  },
63
  ),
64
  datasets.SplitGenerator(
65
- name=datasets.Split.TRAIN,
66
  # These kwargs will be passed to _generate_examples
67
  gen_kwargs={
68
  "filepath": os.path.join(downloaded_files['reg']),
69
- "split": "train",
70
  },
71
  ),
72
  ]
 
58
  # These kwargs will be passed to _generate_examples
59
  gen_kwargs={
60
  "filepath": os.path.join(downloaded_files['train']),
61
+ "split": "img",
62
  },
63
  ),
64
  datasets.SplitGenerator(
65
+ name=datasets.Split.TEST,
66
  # These kwargs will be passed to _generate_examples
67
  gen_kwargs={
68
  "filepath": os.path.join(downloaded_files['reg']),
69
+ "split": "reg",
70
  },
71
  ),
72
  ]