Datasets:
Commit
·
a19b3f1
1
Parent(s):
16bcdaa
error fix
Browse files
test.py
CHANGED
|
@@ -92,11 +92,11 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
| 92 |
def _split_generators(self, dl_manager):
|
| 93 |
|
| 94 |
urls_to_download = {
|
| 95 |
-
"train_500": os.path.join(
|
| 96 |
-
"val_500": os.path.join(
|
| 97 |
-
"train_1000": os.path.join(
|
| 98 |
-
"val_1000": os.path.join(
|
| 99 |
-
"test_common": os.path.join(
|
| 100 |
}
|
| 101 |
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|
| 102 |
|
|
|
|
| 92 |
def _split_generators(self, dl_manager):
|
| 93 |
|
| 94 |
urls_to_download = {
|
| 95 |
+
"train_500": os.path.join(_URL, _FILES[self.config.name]["train_500"]),
|
| 96 |
+
"val_500": os.path.join(_URL, _FILES[self.config.name]["val_500"]),
|
| 97 |
+
"train_1000": os.path.join(_URL, _FILES[self.config.name]["train_1000"]),
|
| 98 |
+
"val_1000": os.path.join(_URL, _FILES[self.config.name]["val_1000"]),
|
| 99 |
+
"test_common": os.path.join(_URL, _FILES[self.config.name]["test_common"]),
|
| 100 |
}
|
| 101 |
downloaded_files = dl_manager.download_and_extract(urls_to_download)
|
| 102 |
|