DarthReca
commited on
Commit
•
4274ecc
1
Parent(s):
ba0cabb
:hammer: Comma correction
Browse files- california_burned_areas.py +11 -15
california_burned_areas.py
CHANGED
@@ -105,23 +105,19 @@ class CaBuAr(datasets.GeneratorBasedBuilder):
|
|
105 |
|
106 |
def _info(self):
|
107 |
if self.config.name == "pre-post-fire":
|
108 |
-
features = (
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
}
|
115 |
-
),
|
116 |
)
|
117 |
else:
|
118 |
-
features = (
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
}
|
124 |
-
),
|
125 |
)
|
126 |
|
127 |
return datasets.DatasetInfo(
|
|
|
105 |
|
106 |
def _info(self):
|
107 |
if self.config.name == "pre-post-fire":
|
108 |
+
features = datasets.Features(
|
109 |
+
{
|
110 |
+
"post_fire": datasets.Array3D((512, 512, 12), dtype="uint16"),
|
111 |
+
"pre_fire": datasets.Array3D((512, 512, 12), dtype="uint16"),
|
112 |
+
"mask": datasets.Array3D((512, 512, 1), dtype="uint16"),
|
113 |
+
}
|
|
|
|
|
114 |
)
|
115 |
else:
|
116 |
+
features = datasets.Features(
|
117 |
+
{
|
118 |
+
"post_fire": datasets.Array3D((512, 512, 12), dtype="uint16"),
|
119 |
+
"mask": datasets.Array3D((512, 512, 12), dtype="uint16"),
|
120 |
+
}
|
|
|
|
|
121 |
)
|
122 |
|
123 |
return datasets.DatasetInfo(
|