debug
Browse files
ANAKIN.py
CHANGED
@@ -171,8 +171,8 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
171 |
ids = df["video-id"].to_list()[:10]
|
172 |
random.shuffle(ids)
|
173 |
|
174 |
-
train_end = int(len(
|
175 |
-
val_end = int(len(
|
176 |
split_ids = {
|
177 |
datasets.Split.TRAIN: ids[:train_end],
|
178 |
datasets.Split.VALIDATION: ids[train_end:val_end],
|
|
|
171 |
ids = df["video-id"].to_list()[:10]
|
172 |
random.shuffle(ids)
|
173 |
|
174 |
+
train_end = int(len(ids) * 0.7)
|
175 |
+
val_end = int(len(ids) * 0.8)
|
176 |
split_ids = {
|
177 |
datasets.Split.TRAIN: ids[:train_end],
|
178 |
datasets.Split.VALIDATION: ids[train_end:val_end],
|