Commit
·
a70982f
1
Parent(s):
156906c
Update loadingScript
Browse files- LoadingScriptPractice.py +3 -3
LoadingScriptPractice.py
CHANGED
@@ -14,7 +14,7 @@ _REVISION = "main"
|
|
14 |
|
15 |
# _HOMEPAGE = "https://github.com/fastai/imagenette"
|
16 |
# プログラムを置く場所が決まったら、ここにホームページURLつける
|
17 |
-
_HOMEPAGE = "https://huggingface.co/datasets/mickylan2367/spectrogram_musicCaps"
|
18 |
|
19 |
_DESCRIPTION = f"""\
|
20 |
{_NAME} Datasets including spectrogram.png file from Google MusicCaps Datasets!
|
@@ -69,7 +69,7 @@ class LoadingScriptPractice(datasets.GeneratorBasedBuilder):
|
|
69 |
}
|
70 |
),
|
71 |
supervised_keys=("image", "caption", "data_idx", "number", "label"),
|
72 |
-
homepage=_HOMEPAGE,
|
73 |
# citation=_CITATION,
|
74 |
# license=_LICENSE,
|
75 |
# task_templates=[ImageClassification(image_column="image", label_column="label")],
|
@@ -111,7 +111,7 @@ class LoadingScriptPractice(datasets.GeneratorBasedBuilder):
|
|
111 |
"metadata_path": split_metadata_path
|
112 |
}
|
113 |
)
|
114 |
-
)
|
115 |
return gs
|
116 |
|
117 |
def _generate_examples(self, images, metadata_path, dl_manager:DownloadManager):
|
|
|
14 |
|
15 |
# _HOMEPAGE = "https://github.com/fastai/imagenette"
|
16 |
# プログラムを置く場所が決まったら、ここにホームページURLつける
|
17 |
+
# _HOMEPAGE = "https://huggingface.co/datasets/mickylan2367/spectrogram_musicCaps"
|
18 |
|
19 |
_DESCRIPTION = f"""\
|
20 |
{_NAME} Datasets including spectrogram.png file from Google MusicCaps Datasets!
|
|
|
69 |
}
|
70 |
),
|
71 |
supervised_keys=("image", "caption", "data_idx", "number", "label"),
|
72 |
+
# homepage=_HOMEPAGE,
|
73 |
# citation=_CITATION,
|
74 |
# license=_LICENSE,
|
75 |
# task_templates=[ImageClassification(image_column="image", label_column="label")],
|
|
|
111 |
"metadata_path": split_metadata_path
|
112 |
}
|
113 |
)
|
114 |
+
)
|
115 |
return gs
|
116 |
|
117 |
def _generate_examples(self, images, metadata_path, dl_manager:DownloadManager):
|