try iter-archive
Browse files- imda-dataset.py +1 -1
imda-dataset.py
CHANGED
@@ -187,7 +187,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
187 |
# script_list = glob.glob(metadata_path)
|
188 |
d = {}
|
189 |
|
190 |
-
downloaded_files = dl_manager.
|
191 |
print(f"{downloaded_files}")
|
192 |
for script in downloaded_files:
|
193 |
d["hi"] = script
|
|
|
187 |
# script_list = glob.glob(metadata_path)
|
188 |
d = {}
|
189 |
|
190 |
+
downloaded_files = dl_manager.iter_archive(os.path.join(path_to_data, "DATA", mic, "SCRIPT"))
|
191 |
print(f"{downloaded_files}")
|
192 |
for script in downloaded_files:
|
193 |
d["hi"] = script
|