Update README.md
Browse files
README.md
CHANGED
@@ -65,3 +65,52 @@ configs:
|
|
65 |
- split: random_video_sg_what_action
|
66 |
path: data/random_video_sg_what_action-*
|
67 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
- split: random_video_sg_what_action
|
66 |
path: data/random_video_sg_what_action-*
|
67 |
---
|
68 |
+
|
69 |
+
# Dataset Card for TaskMeAnything-v1-videoqa-random
|
70 |
+
<h5 align="center">
|
71 |
+
|
72 |
+
<!-- [[**π Paper**]() ** | [**π€ TaskMeAnything-v1-Random**]() | [**π€ TaskMeAnything-DB**]() | [**π€ TaskMeAnything-UI**]() -->
|
73 |
+
|
74 |
+
</h5>
|
75 |
+
|
76 |
+
## TaskMeAnything-v1-Random
|
77 |
+
[TaskMeAnything-v1-videoqa-random](https://huggingface.co/datasets/weikaih/TaskMeAnything-v1-videoqa-random) is a dataset which randomly sampled questions from TaskMeAnything-v1, including 2,700 VideoQA questions. The dataset contains 9 splits, while each splits contains 300 questions from a specific task generator in TaskMeAnything-v1. For each row of dataset, it includes: video, question, options, answer and its corresponding task plan.
|
78 |
+
|
79 |
+
### Load TaskMeAnything-v1-Random VideoQA Dataset and Convert Video Binary Stream to mp4
|
80 |
+
* Since Huggingface does not support saving .mp4 files in datasets, we save videos in the format of binary streams. After loading, you can convert the video binary stream to .mp4 using the following method.
|
81 |
+
```
|
82 |
+
import datasets
|
83 |
+
|
84 |
+
dataset_name = 'weikaih/TaskMeAnything-v1-videoqa-random'
|
85 |
+
dataset = datasets.load_dataset(dataset_name, split = TASK_GENERATOR_SPLIT)
|
86 |
+
|
87 |
+
# example: convert binary stream in dataset to .mp4 files
|
88 |
+
video_binary = dataset[0]['video']
|
89 |
+
with open('/path/save/video.mp4', 'wb') as f:
|
90 |
+
f.write(video_binary)
|
91 |
+
```
|
92 |
+
where `TASK_GENERATOR_SPLIT` is one of the task generators, eg, `random_video_3d_what_move`.
|
93 |
+
|
94 |
+
## Out-of-Scope Use
|
95 |
+
This dataset should not be used for training models.
|
96 |
+
|
97 |
+
|
98 |
+
## Disclaimers
|
99 |
+
**TaskMeAnything** and its associated resources are provided for research and educational purposes only.
|
100 |
+
The authors and contributors make no warranties regarding the accuracy or reliability of the data and software.
|
101 |
+
Users are responsible for ensuring their use complies with applicable laws and regulations.
|
102 |
+
The project is not liable for any damages or losses resulting from the use of these resources.
|
103 |
+
|
104 |
+
## Contact
|
105 |
+
|
106 |
+
- Jieyu Zhang: [email protected]
|
107 |
+
|
108 |
+
## Citation
|
109 |
+
|
110 |
+
**BibTeX:**
|
111 |
+
|
112 |
+
```bibtex
|
113 |
+
|
114 |
+
```
|
115 |
+
|
116 |
+
|