AlexBlck commited on
Commit
2d8cbfe
1 Parent(s): 05c8c48

rename configs

Browse files
Files changed (1) hide show
  1. ANAKIN.py +4 -4
ANAKIN.py CHANGED
@@ -27,8 +27,8 @@ _METADATA_URL = "https://huggingface.co/datasets/AlexBlck/ANAKIN/raw/main/metada
27
  _FOLDERS = {
28
  "all": ("full", "trimmed", "edited", "masks"),
29
  "no-full": ("trimmed", "edited", "masks"),
30
- "trimmed-edited-masks": ("trimmed", "edited", "masks"),
31
- "full-trimmed-edited-masks": ("full", "trimmed", "edited", "masks"),
32
  }
33
 
34
 
@@ -88,7 +88,7 @@ class Anakin(datasets.GeneratorBasedBuilder):
88
  "editor-id": datasets.Value("string"),
89
  }
90
  )
91
- elif self.config.name == "trimmed-edited-masks":
92
  features = datasets.Features(
93
  {
94
  "trimmed": datasets.Value("string"),
@@ -99,7 +99,7 @@ class Anakin(datasets.GeneratorBasedBuilder):
99
  "editor-id": datasets.Value("string"),
100
  }
101
  )
102
- elif self.config.name == "full-trimmed-edited-masks":
103
  features = datasets.Features(
104
  {
105
  "full": datasets.Value("string"),
 
27
  _FOLDERS = {
28
  "all": ("full", "trimmed", "edited", "masks"),
29
  "no-full": ("trimmed", "edited", "masks"),
30
+ "has-masks": ("trimmed", "edited", "masks"),
31
+ "full-masks": ("full", "trimmed", "edited", "masks"),
32
  }
33
 
34
 
 
88
  "editor-id": datasets.Value("string"),
89
  }
90
  )
91
+ elif self.config.name == "has-masks":
92
  features = datasets.Features(
93
  {
94
  "trimmed": datasets.Value("string"),
 
99
  "editor-id": datasets.Value("string"),
100
  }
101
  )
102
+ elif self.config.name == "full-masks":
103
  features = datasets.Features(
104
  {
105
  "full": datasets.Value("string"),