Commit
·
b5679b7
1
Parent(s):
1077aaf
Update LoadingScript
Browse files- LoadingScriptPractice.py +1 -2
LoadingScriptPractice.py
CHANGED
|
@@ -58,7 +58,7 @@ class LoadingScriptPractice(datasets.GeneratorBasedBuilder):
|
|
| 58 |
|
| 59 |
def _info(self) -> DatasetInfo:
|
| 60 |
return datasets.DatasetInfo(
|
| 61 |
-
description=
|
| 62 |
features=datasets.Features(
|
| 63 |
{
|
| 64 |
"image": datasets.Image(),
|
|
@@ -71,7 +71,6 @@ class LoadingScriptPractice(datasets.GeneratorBasedBuilder):
|
|
| 71 |
supervised_keys=("image", "caption", "data_idx", "number", "label"),
|
| 72 |
# homepage=_HOMEPAGE,
|
| 73 |
citation= "",
|
| 74 |
-
description=self.config.description
|
| 75 |
# license=_LICENSE,
|
| 76 |
# task_templates=[ImageClassification(image_column="image", label_column="label")],
|
| 77 |
)
|
|
|
|
| 58 |
|
| 59 |
def _info(self) -> DatasetInfo:
|
| 60 |
return datasets.DatasetInfo(
|
| 61 |
+
description = self.config.description,
|
| 62 |
features=datasets.Features(
|
| 63 |
{
|
| 64 |
"image": datasets.Image(),
|
|
|
|
| 71 |
supervised_keys=("image", "caption", "data_idx", "number", "label"),
|
| 72 |
# homepage=_HOMEPAGE,
|
| 73 |
citation= "",
|
|
|
|
| 74 |
# license=_LICENSE,
|
| 75 |
# task_templates=[ImageClassification(image_column="image", label_column="label")],
|
| 76 |
)
|