wip
Browse files
ANAKIN.py
CHANGED
@@ -193,7 +193,11 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
193 |
else:
|
194 |
split_ids = ids[val_end:]
|
195 |
data_urls = [
|
196 |
-
{
|
|
|
|
|
|
|
|
|
197 |
for idx in split_ids
|
198 |
]
|
199 |
data_dir[split] = dl_manager.download(data_urls)
|
|
|
193 |
else:
|
194 |
split_ids = ids[val_end:]
|
195 |
data_urls = [
|
196 |
+
{
|
197 |
+
f"{folder}": root_url + f"{folder}/{idx}.mp4"
|
198 |
+
for folder in folders
|
199 |
+
if folder != "masks"
|
200 |
+
}
|
201 |
for idx in split_ids
|
202 |
]
|
203 |
data_dir[split] = dl_manager.download(data_urls)
|