ZihanWang314
commited on
Commit
·
3f581ed
1
Parent(s):
0ede699
update
Browse files
README.md
CHANGED
@@ -169,10 +169,10 @@ print(dataset)
|
|
169 |
})
|
170 |
```
|
171 |
|
172 |
-
#### Video Source
|
173 |
|
174 |
-
TODO: We plan to provide a script of how to download a subset from [Ego4d](https://ego4d-data.org/).
|
175 |
-
|
176 |
```bash
|
177 |
pip install ego4d
|
178 |
|
@@ -181,7 +181,7 @@ ego4d --output_directory=your_path/videos/ \
|
|
181 |
--metadata \
|
182 |
--video_uid_file video_uids.txt
|
183 |
|
184 |
-
python process_videos_to_clips.py # TODO
|
185 |
```
|
186 |
Please find [video_uids.txt](https://huggingface.co/datasets/LVHaystack/LongVideoHaystack/blob/main/video_uids.txt) in our repo, or you can generate it by:
|
187 |
|
@@ -193,9 +193,9 @@ with open("video_uids.txt", "w") as file:
|
|
193 |
file.write(video_id + " ")
|
194 |
```
|
195 |
|
196 |
-
then, you need to transform them to video clips:
|
197 |
```python
|
198 |
-
```
|
199 |
|
200 |
|
201 |
|
|
|
169 |
})
|
170 |
```
|
171 |
|
172 |
+
#### Download and Process Video Source
|
173 |
|
174 |
+
TODO: We plan to provide a script of how to download a subset from [Ego4d](https://ego4d-data.org/) and process them.
|
175 |
+
Below is download part adapted from their [official guide](https://github.com/facebookresearch/Ego4d/tree/main/ego4d/cli) and we will add video2clip script soon.
|
176 |
```bash
|
177 |
pip install ego4d
|
178 |
|
|
|
181 |
--metadata \
|
182 |
--video_uid_file video_uids.txt
|
183 |
|
184 |
+
# python process_videos_to_clips.py # TODO
|
185 |
```
|
186 |
Please find [video_uids.txt](https://huggingface.co/datasets/LVHaystack/LongVideoHaystack/blob/main/video_uids.txt) in our repo, or you can generate it by:
|
187 |
|
|
|
193 |
file.write(video_id + " ")
|
194 |
```
|
195 |
|
196 |
+
<!-- then, you need to transform them to video clips:
|
197 |
```python
|
198 |
+
``` -->
|
199 |
|
200 |
|
201 |
|