Commit
·
283dc44
1
Parent(s):
4061607
change loading script
Browse files- spectrogram_musicCaps.py +3 -2
spectrogram_musicCaps.py
CHANGED
@@ -35,7 +35,7 @@ _IMAGES_DIR = "mickylan2367/images/data/"
|
|
35 |
class spectrogram_musicCapsConfig(datasets.BuilderConfig):
|
36 |
"""Builder Config for spectrogram_MusicCaps"""
|
37 |
|
38 |
-
def __init__(self, **kwargs):
|
39 |
"""BuilderConfig
|
40 |
Args:
|
41 |
data_url: `string`, url to download the zip file from.
|
@@ -43,7 +43,8 @@ class spectrogram_musicCapsConfig(datasets.BuilderConfig):
|
|
43 |
**kwargs: keyword arguments forwarded to super.
|
44 |
"""
|
45 |
super(spectrogram_musicCapsConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
|
46 |
-
|
|
|
47 |
|
48 |
class spectrogram_musicCaps(datasets.GeneratorBasedBuilder):
|
49 |
|
|
|
35 |
class spectrogram_musicCapsConfig(datasets.BuilderConfig):
|
36 |
"""Builder Config for spectrogram_MusicCaps"""
|
37 |
|
38 |
+
def __init__(self, data_url, metadata_urls, **kwargs):
|
39 |
"""BuilderConfig
|
40 |
Args:
|
41 |
data_url: `string`, url to download the zip file from.
|
|
|
43 |
**kwargs: keyword arguments forwarded to super.
|
44 |
"""
|
45 |
super(spectrogram_musicCapsConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
|
46 |
+
# self.data_url = data_url
|
47 |
+
self.metadata_urls = metadata_urls
|
48 |
|
49 |
class spectrogram_musicCaps(datasets.GeneratorBasedBuilder):
|
50 |
|