Update RDD_2020.py
Browse files- 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":
|
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 |
),
|