rename configs
Browse files
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 |
-
"
|
31 |
-
"full-
|
32 |
}
|
33 |
|
34 |
|
@@ -88,7 +88,7 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
88 |
"editor-id": datasets.Value("string"),
|
89 |
}
|
90 |
)
|
91 |
-
elif self.config.name == "
|
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-
|
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"),
|