Update IDD.py
Browse files
IDD.py
CHANGED
@@ -100,7 +100,7 @@ class IDD(datasets.GeneratorBasedBuilder):
|
|
100 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
101 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
102 |
path = dl_manager.download(_URLS)
|
103 |
-
data_dir = dl_manager.download_and_extract(
|
104 |
return [
|
105 |
datasets.SplitGenerator(
|
106 |
name=datasets.Split.TRAIN,
|
|
|
100 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
101 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
102 |
path = dl_manager.download(_URLS)
|
103 |
+
data_dir = dl_manager.download_and_extract(path)
|
104 |
return [
|
105 |
datasets.SplitGenerator(
|
106 |
name=datasets.Split.TRAIN,
|