alkzar90 commited on
Commit
35b447c
1 Parent(s): ff7b8cf

Fix typo and indent rock-glacier-dataset.py

Browse files
Files changed (1) hide show
  1. rock-glacier-dataset.py +4 -4
rock-glacier-dataset.py CHANGED
@@ -39,8 +39,8 @@ class RockGlacierDataset(datasets.GeneratorBasedBuilder):
39
  description=_DESCRIPTION,
40
  features=datasets.Features(
41
  {
42
- "image": datasets.Image(),
43
- "labels": datasets.features.ClassLabel(names=_NAMES),
44
  }
45
  ),
46
  supervised_keys=("image", "labels"),
@@ -57,13 +57,13 @@ class RockGlacierDataset(datasets.GeneratorBasedBuilder):
57
  name=datasets.Split.TRAIN,
58
  gen_kwargs={
59
  "files": dl_manager.iter_files([data_files["train"]]),
60
- }
61
  ),
62
  datasets.SplitGenerator(
63
  name=datasets.Split.VALIDATION,
64
  gen_kwargs={
65
  "files": dl_manager.iter_files([data_files["validation"]]),
66
- }
67
  ),
68
  ]
69
 
 
39
  description=_DESCRIPTION,
40
  features=datasets.Features(
41
  {
42
+ "image": datasets.Image(),
43
+ "labels": datasets.features.ClassLabel(names=_NAMES),
44
  }
45
  ),
46
  supervised_keys=("image", "labels"),
 
57
  name=datasets.Split.TRAIN,
58
  gen_kwargs={
59
  "files": dl_manager.iter_files([data_files["train"]]),
60
+ },
61
  ),
62
  datasets.SplitGenerator(
63
  name=datasets.Split.VALIDATION,
64
  gen_kwargs={
65
  "files": dl_manager.iter_files([data_files["validation"]]),
66
+ },
67
  ),
68
  ]
69