Datasets:

Size:
n<1K
ArXiv:
DOI:
License:
DarthReca commited on
Commit
4274ecc
1 Parent(s): ba0cabb

:hammer: Comma correction

Browse files
Files changed (1) hide show
  1. 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
- datasets.Features(
110
- {
111
- "post_fire": datasets.Array3D((512, 512, 12), dtype="uint16"),
112
- "pre_fire": datasets.Array3D((512, 512, 12), dtype="uint16"),
113
- "mask": datasets.Array3D((512, 512, 1), dtype="uint16"),
114
- }
115
- ),
116
  )
117
  else:
118
- features = (
119
- datasets.Features(
120
- {
121
- "post_fire": datasets.Array3D((512, 512, 12), dtype="uint16"),
122
- "mask": datasets.Array3D((512, 512, 12), dtype="uint16"),
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(