alkzar90 commited on
Commit
634e71b
1 Parent(s): 8dacc50

Fix config constructor

Browse files
Files changed (1) hide show
  1. rock-glacier-dataset.py +9 -10
rock-glacier-dataset.py CHANGED
@@ -46,16 +46,15 @@ _NAMES = ["glaciar", "cordillera"]
46
 
47
 
48
  class RockGlacierConfig(datasets.BuilderConfig):
49
- """Rock Glacier dataset configuration"""
50
- def __init__(self, name, **kwargs):
51
- super(RockGlacierConfig).__init__(
52
- version=datasets.Version("1.0.0"),
53
- name=name,
54
- description="Rock Glacier Dataset",
55
- **kwargs,
56
- )
57
-
58
-
59
  class RockGlacierDataset(datasets.GeneratorBasedBuilder):
60
  """Rock Glacier images dataset."""
61
 
 
46
 
47
 
48
  class RockGlacierConfig(datasets.BuilderConfig):
49
+ def __init__(self, name, **kwargs):
50
+ super(RockGlacierConfig, self).__init__(
51
+ version=datasets.Version("1.0.0"),
52
+ name=name,
53
+ description="Rock Glacier Dataset",
54
+ **kwargs,
55
+ )
56
+
57
+
 
58
  class RockGlacierDataset(datasets.GeneratorBasedBuilder):
59
  """Rock Glacier images dataset."""
60