Update deepaction_v1.py
Browse files- deepaction_v1.py +1 -1
deepaction_v1.py
CHANGED
@@ -62,7 +62,7 @@ class DeepActionV1(datasets.GeneratorBasedBuilder):
|
|
62 |
|
63 |
def _generate_examples(self, data_dir):
|
64 |
for data_point in data_dir:
|
65 |
-
yield
|
66 |
"video": data_point,
|
67 |
"label": str(data_point).split("/")[-3],
|
68 |
}
|
|
|
62 |
|
63 |
def _generate_examples(self, data_dir):
|
64 |
for data_point in data_dir:
|
65 |
+
yield data_point, {
|
66 |
"video": data_point,
|
67 |
"label": str(data_point).split("/")[-3],
|
68 |
}
|