Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Preparing Dataset for HAKE-GIO + HAKE-AVA-PaSta (h box + b box & class + action + PaSta)
|
| 2 |
+
|
| 3 |
+
1. Dataset downloading steps
|
| 4 |
+
|
| 5 |
+
1. Download AVA Dataset (following [SlowFast](https://github.com/facebookresearch/SlowFast)).
|
| 6 |
+
|
| 7 |
+
```
|
| 8 |
+
./script/download_AVA_dataset.sh
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
2. Downloading annotation
|
| 12 |
+
|
| 13 |
+
The annotation is contained in GIO_annotation
|
| 14 |
+
|
| 15 |
+
Please download it to ava folder and extract data from the package.
|
| 16 |
+
|
| 17 |
+
3. Structure of downloaded data
|
| 18 |
+
|
| 19 |
+
```
|
| 20 |
+
GIO
|
| 21 |
+
|_ GIO_annotation
|
| 22 |
+
| |_ GIO_test.csv
|
| 23 |
+
| |_ GIO_train.csv
|
| 24 |
+
|_ frames
|
| 25 |
+
| |_ [video name 0]
|
| 26 |
+
| | |_ [video name 0]_000001.jpg
|
| 27 |
+
| | |_ [video name 0]_000002.jpg
|
| 28 |
+
| | |_ ...
|
| 29 |
+
| |_ [video name 1]
|
| 30 |
+
| |_ [video name 1]_000001.jpg
|
| 31 |
+
| |_ [video name 1]_000002.jpg
|
| 32 |
+
| |_ ...
|
| 33 |
+
|_ frame_lists
|
| 34 |
+
| |_ train.csv
|
| 35 |
+
| |_ val.csv
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
2. Annotation Format
|
| 39 |
+
|
| 40 |
+
Files in the GIO folder contains the annotations of each frame, including human/object box, action, object name, etc.
|
| 41 |
+
|
| 42 |
+
example:
|
| 43 |
+
|
| 44 |
+
| video | frame | h_x1 | h_y1 | h_x2 | h_y2 | o_x1 | o_y1 | o_x2 | o_y2 | action | object_name | human_id | object_id |
|
| 45 |
+
| ----------- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- | ------ | ----------- | -------- | --------- |
|
| 46 |
+
| -5KQ66BBWC4 | 905 | 0.392 | 0.033 | 0.556 | 0.618 | 0.37 | 0.019 | 0.432 | 0.608 | 6 | stick | 12 | 0 |
|
| 47 |
+
| -5KQ66BBWC4 | 906 | 0.408 | 0.008 | 0.586 | 0.639 | 0.37 | 0.036 | 0.457 | 0.678 | 6 | stick | 12 | 0 |
|
| 48 |
+
| -5KQ66BBWC4 | 907 | 0.42 | 0.115 | 0.616 | 0.883 | 0.371 | 0.143 | 0.466 | 0.878 | 6 | stick | 12 | 0 |
|
| 49 |
+
|
| 50 |
+
The meanings of each column:
|
| 51 |
+
|
| 52 |
+
- video: name of the video
|
| 53 |
+
- frame: time (second) of the frame
|
| 54 |
+
- h_x1~h_y2: the upper left and bottom right corners of human-box
|
| 55 |
+
- o_x1~o_y2: the upper left and bottom right corners of object-box
|
| 56 |
+
- action: the action label of the person in the human-box
|
| 57 |
+
- object_name: name of object
|
| 58 |
+
- human_id: ID of the person performing the action
|
| 59 |
+
- object_id: category id of the object
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
license: mit
|
| 65 |
+
---
|