debug
Browse files
ANAKIN.py
CHANGED
@@ -168,7 +168,7 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
168 |
if "-masks" in self.config.name:
|
169 |
df = df[df["has-masks"] == True]
|
170 |
|
171 |
-
ids = df["video-id"].to_list()
|
172 |
random.shuffle(ids)
|
173 |
|
174 |
train_end = int(len(ids) * 0.7)
|
@@ -195,6 +195,7 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
195 |
}
|
196 |
for idx in split_ids[split]
|
197 |
]
|
|
|
198 |
data_dir[split] = dl_manager.download(data_urls)
|
199 |
mask_dir[split] = {
|
200 |
idx: dl_manager.iter_archive(
|
|
|
168 |
if "-masks" in self.config.name:
|
169 |
df = df[df["has-masks"] == True]
|
170 |
|
171 |
+
ids = df["video-id"].to_list()
|
172 |
random.shuffle(ids)
|
173 |
|
174 |
train_end = int(len(ids) * 0.7)
|
|
|
195 |
}
|
196 |
for idx in split_ids[split]
|
197 |
]
|
198 |
+
print(data_urls)
|
199 |
data_dir[split] = dl_manager.download(data_urls)
|
200 |
mask_dir[split] = {
|
201 |
idx: dl_manager.iter_archive(
|