Fix
Browse files
gtzan.py
CHANGED
@@ -64,12 +64,12 @@ class Gtzan(datasets.GeneratorBasedBuilder):
|
|
64 |
)
|
65 |
|
66 |
def _split_generators(self, dl_manager):
|
67 |
-
|
68 |
return [
|
69 |
datasets.SplitGenerator(
|
70 |
name=datasets.Split.TRAIN,
|
71 |
gen_kwargs={
|
72 |
-
"local_extracted_archive":
|
73 |
},
|
74 |
)
|
75 |
]
|
|
|
64 |
)
|
65 |
|
66 |
def _split_generators(self, dl_manager):
|
67 |
+
local_extracted_archive = dl_manager.download_and_extract("data/genres.tar.gz")
|
68 |
return [
|
69 |
datasets.SplitGenerator(
|
70 |
name=datasets.Split.TRAIN,
|
71 |
gen_kwargs={
|
72 |
+
"local_extracted_archive": local_extracted_archive,
|
73 |
},
|
74 |
)
|
75 |
]
|