Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ This is the dataset repository of `OpenDV-YouTube` language annotations, includi
|
|
10 |
|
11 |
To use the annotations, you need to first download and prepare the data as instructed in <a href="https://github.com/OpenDriveLab/DriveAGI/tree/main/opendv" target="_blank">OpenDV-YouTube</a>.
|
12 |
|
13 |
-
You can use the following code to load in
|
14 |
|
15 |
```python
|
16 |
import json
|
@@ -29,10 +29,10 @@ Annotations will be loaded in `full_annos` as a list where each element contains
|
|
29 |
|
30 |
```
|
31 |
{
|
32 |
-
"cmd": <int> -- command, i.e. the command of the ego vehicle in the
|
33 |
-
"blip": <str> -- context, i.e. the BLIP description of the center frame in the
|
34 |
-
"folder": <str> -- the relative path from the processed OpenDV-YouTube dataset root to the image folder of the video
|
35 |
-
"first_frame": <str> -- the filename of the first frame in the clip.
|
36 |
-
"last_frame": <str> -- the filename of the last frame in the clip.
|
37 |
}
|
38 |
```
|
|
|
10 |
|
11 |
To use the annotations, you need to first download and prepare the data as instructed in <a href="https://github.com/OpenDriveLab/DriveAGI/tree/main/opendv" target="_blank">OpenDV-YouTube</a>.
|
12 |
|
13 |
+
You can use the following code to load in annotations respectively.
|
14 |
|
15 |
```python
|
16 |
import json
|
|
|
29 |
|
30 |
```
|
31 |
{
|
32 |
+
"cmd": <int> -- command, i.e. the command of the ego vehicle in the video clip.
|
33 |
+
"blip": <str> -- context, i.e. the BLIP description of the center frame in the video clip.
|
34 |
+
"folder": <str> -- the relative path from the processed OpenDV-YouTube dataset root to the image folder of the video clip.
|
35 |
+
"first_frame": <str> -- the filename of the first frame in the clip. Note that this file is included in the video clip.
|
36 |
+
"last_frame": <str> -- the filename of the last frame in the clip. Note that this file is included in the video clip.
|
37 |
}
|
38 |
```
|