wip configs
Browse files
ANAKIN.py
CHANGED
@@ -68,6 +68,21 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
68 |
version=VERSION,
|
69 |
description="Full video, trimmed video, edited video, masks (if exists), and edit description",
|
70 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
]
|
72 |
|
73 |
DEFAULT_CONFIG_NAME = "all" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
@@ -95,8 +110,6 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
95 |
"edited": datasets.Value("string"),
|
96 |
"masks": datasets.Sequence(datasets.Image()),
|
97 |
"task": datasets.Value("string"),
|
98 |
-
"start-time": datasets.Value("int32"),
|
99 |
-
"end-time": datasets.Value("int32"),
|
100 |
"manipulation-type": datasets.Value("string"),
|
101 |
"editor-id": datasets.Value("string"),
|
102 |
}
|
@@ -108,8 +121,6 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
108 |
"edited": datasets.Value("string"),
|
109 |
"masks": datasets.Sequence(datasets.Image()),
|
110 |
"task": datasets.Value("string"),
|
111 |
-
"start-time": datasets.Value("int32"),
|
112 |
-
"end-time": datasets.Value("int32"),
|
113 |
"manipulation-type": datasets.Value("string"),
|
114 |
"editor-id": datasets.Value("string"),
|
115 |
}
|
|
|
68 |
version=VERSION,
|
69 |
description="Full video, trimmed video, edited video, masks (if exists), and edit description",
|
70 |
),
|
71 |
+
datasets.BuilderConfig(
|
72 |
+
name="no-full",
|
73 |
+
version=VERSION,
|
74 |
+
description="Trimmed video, edited video, masks (if exists), and edit description",
|
75 |
+
),
|
76 |
+
datasets.BuilderConfig(
|
77 |
+
name="trimmed-edited-masks",
|
78 |
+
version=VERSION,
|
79 |
+
description="Only samples that have masks. Without full length video.",
|
80 |
+
),
|
81 |
+
datasets.BuilderConfig(
|
82 |
+
name="full-trimmed-edited-masks",
|
83 |
+
version=VERSION,
|
84 |
+
description="Only samples that have masks. With full length video.",
|
85 |
+
),
|
86 |
]
|
87 |
|
88 |
DEFAULT_CONFIG_NAME = "all" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
|
|
110 |
"edited": datasets.Value("string"),
|
111 |
"masks": datasets.Sequence(datasets.Image()),
|
112 |
"task": datasets.Value("string"),
|
|
|
|
|
113 |
"manipulation-type": datasets.Value("string"),
|
114 |
"editor-id": datasets.Value("string"),
|
115 |
}
|
|
|
121 |
"edited": datasets.Value("string"),
|
122 |
"masks": datasets.Sequence(datasets.Image()),
|
123 |
"task": datasets.Value("string"),
|
|
|
|
|
124 |
"manipulation-type": datasets.Value("string"),
|
125 |
"editor-id": datasets.Value("string"),
|
126 |
}
|