ShixuanAn commited on
Commit
63f6c86
1 Parent(s): 3314a48

Update RDD_2020.py

Browse files
Files changed (1) hide show
  1. RDD_2020.py +3 -3
RDD_2020.py CHANGED
@@ -87,21 +87,21 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
87
  datasets.SplitGenerator(
88
  name=datasets.Split.TRAIN,
89
  gen_kwargs={
90
- "filepath": downloaded_files["train"],
91
  "split": "train",
92
  }
93
  ),
94
  datasets.SplitGenerator(
95
  name=datasets.Split.TEST,
96
  gen_kwargs={
97
- "filepath": downloaded_files["test1"],
98
  "split": "test1",
99
  }
100
  ),
101
  datasets.SplitGenerator(
102
  name=datasets.Split.VALIDATION,
103
  gen_kwargs={
104
- "filepath": downloaded_files["test2"],
105
  "split": "test2",
106
  }
107
  ),
 
87
  datasets.SplitGenerator(
88
  name=datasets.Split.TRAIN,
89
  gen_kwargs={
90
+ "filepath": os.path.join(downloaded_files["train"], "train"),
91
  "split": "train",
92
  }
93
  ),
94
  datasets.SplitGenerator(
95
  name=datasets.Split.TEST,
96
  gen_kwargs={
97
+ "filepath": os.path.join(downloaded_files["test1"], "test1"),
98
  "split": "test1",
99
  }
100
  ),
101
  datasets.SplitGenerator(
102
  name=datasets.Split.VALIDATION,
103
  gen_kwargs={
104
+ "filepath":os.path.join(downloaded_files["test2"], "test2")
105
  "split": "test2",
106
  }
107
  ),