fix: forget about info too
Browse files- ornithoscope.py +19 -19
ornithoscope.py
CHANGED
@@ -132,25 +132,25 @@ class Ornithoscope(datasets.GeneratorBasedBuilder):
|
|
132 |
def _info(self) -> datasets.DatasetInfo:
|
133 |
return datasets.DatasetInfo(
|
134 |
description=_DESCRIPTION,
|
135 |
-
features=datasets.Features(
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
),
|
154 |
homepage=_HOMEPAGE,
|
155 |
citation=_CITATION,
|
156 |
)
|
|
|
132 |
def _info(self) -> datasets.DatasetInfo:
|
133 |
return datasets.DatasetInfo(
|
134 |
description=_DESCRIPTION,
|
135 |
+
# features=datasets.Features(
|
136 |
+
# {
|
137 |
+
# "id_path": datasets.Value("string"),
|
138 |
+
# "path": datasets.Value("string"),
|
139 |
+
# "boxes": datasets.Sequence(
|
140 |
+
# {
|
141 |
+
# "label": datasets.Value("string"),
|
142 |
+
# "xmin": datasets.Value("float32"),
|
143 |
+
# "xmax": datasets.Value("float32"),
|
144 |
+
# "ymin": datasets.Value("float32"),
|
145 |
+
# "ymax": datasets.Value("float32"),
|
146 |
+
# }
|
147 |
+
# ),
|
148 |
+
# "size": {
|
149 |
+
# "width": datasets.Value("int32"),
|
150 |
+
# "height": datasets.Value("int32"),
|
151 |
+
# },
|
152 |
+
# },
|
153 |
+
# ),
|
154 |
homepage=_HOMEPAGE,
|
155 |
citation=_CITATION,
|
156 |
)
|