Commit
·
cf14954
1
Parent(s):
9e279c6
Update README
Browse files- LoadingScriptPractice.py +1 -12
LoadingScriptPractice.py
CHANGED
|
@@ -34,22 +34,11 @@ Using for Project Learning...
|
|
| 34 |
# 使用したデータセット(クラスラベル)
|
| 35 |
# https://huggingface.co/datasets/marsyas/gtzan
|
| 36 |
|
| 37 |
-
|
| 38 |
-
class LoadingScriptPracticeConfig(datasets.BuilderConfig):
|
| 39 |
-
"""Builder Config for spectrogram_MusicCaps"""
|
| 40 |
-
|
| 41 |
-
def __init__(self, **kwargs):
|
| 42 |
-
"""BuilderConfig
|
| 43 |
-
Args:
|
| 44 |
-
**kwargs: keyword arguments forwarded to super.
|
| 45 |
-
"""
|
| 46 |
-
super(LoadingScriptPracticeConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
|
| 47 |
-
|
| 48 |
class LoadingScriptPractice(datasets.GeneratorBasedBuilder):
|
| 49 |
|
| 50 |
# データのサブセットはここで用意
|
| 51 |
BUILDER_CONFIGS = [
|
| 52 |
-
|
| 53 |
name="MusicCaps data 0_3",
|
| 54 |
description="this Datasets is personal practice for using loadingScript. Data is from Google/MusicCaps",
|
| 55 |
),
|
|
|
|
| 34 |
# 使用したデータセット(クラスラベル)
|
| 35 |
# https://huggingface.co/datasets/marsyas/gtzan
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
class LoadingScriptPractice(datasets.GeneratorBasedBuilder):
|
| 38 |
|
| 39 |
# データのサブセットはここで用意
|
| 40 |
BUILDER_CONFIGS = [
|
| 41 |
+
datasets.BuilderConfig(
|
| 42 |
name="MusicCaps data 0_3",
|
| 43 |
description="this Datasets is personal practice for using loadingScript. Data is from Google/MusicCaps",
|
| 44 |
),
|