Upload dave.py with huggingface_hub
Browse files
dave.py
CHANGED
@@ -8,7 +8,6 @@ _HOMEPAGE = "https://huggingface.co/datasets/gorjanradevski/dave"
|
|
8 |
_LICENSE = "MIT"
|
9 |
|
10 |
_MEDIA_FIELDS = [
|
11 |
-
"raw_video_path",
|
12 |
"compressed_video_path",
|
13 |
"event_video_path",
|
14 |
"video_with_overlayed_audio_path",
|
@@ -26,14 +25,15 @@ class DaveDataset(datasets.GeneratorBasedBuilder):
|
|
26 |
features=datasets.Features({
|
27 |
"compressed_video_path": datasets.Value("string"),
|
28 |
"overlayed_event_index": datasets.Value("int32"),
|
29 |
-
"events": datasets.Sequence(
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
37 |
"event_video_path": datasets.Value("string"),
|
38 |
"audio_class": datasets.Value("string"),
|
39 |
"video_with_overlayed_audio_path": datasets.Value("string"),
|
|
|
8 |
_LICENSE = "MIT"
|
9 |
|
10 |
_MEDIA_FIELDS = [
|
|
|
11 |
"compressed_video_path",
|
12 |
"event_video_path",
|
13 |
"video_with_overlayed_audio_path",
|
|
|
25 |
features=datasets.Features({
|
26 |
"compressed_video_path": datasets.Value("string"),
|
27 |
"overlayed_event_index": datasets.Value("int32"),
|
28 |
+
"events": datasets.Sequence(
|
29 |
+
datasets.Features({
|
30 |
+
"start": datasets.Value("string"),
|
31 |
+
"end": datasets.Value("string"),
|
32 |
+
"duration": datasets.Value("float64"),
|
33 |
+
"narration": datasets.Value("string"),
|
34 |
+
"action": datasets.Value("string"),
|
35 |
+
})
|
36 |
+
),
|
37 |
"event_video_path": datasets.Value("string"),
|
38 |
"audio_class": datasets.Value("string"),
|
39 |
"video_with_overlayed_audio_path": datasets.Value("string"),
|