Update README.md
Browse files
README.md
CHANGED
|
@@ -25,7 +25,7 @@ configs:
|
|
| 25 |
|
| 26 |
ASTime, short for **Activity State Transition Timestamp**, is a video dataset for studying real-time perception of human activity changes from a robotic perspective. Instead of only providing the start and end time of an activity segment, ASTime explicitly annotates the **transition timestamp**: the moment at which a new human activity state becomes semantically distinguishable from the previous state.
|
| 27 |
|
| 28 |
-
The released dataset contains anonymized, muted, untrimmed long videos collected in constructed home-like laboratory environments, together with JSON annotations for activity-state transition timestamp localization. The train/test split is subject-disjoint to evaluate generalization to unseen participants.
|
| 29 |
|
| 30 |
## 📌 Dataset Summary
|
| 31 |
|
|
@@ -63,11 +63,14 @@ The dataset has two main components: video files and JSON annotations.
|
|
| 63 |
|
| 64 |
| Component | Path pattern | Description |
|
| 65 |
|---|---|---|
|
| 66 |
-
| 🎬 Training videos | `Videos/train/P001_train/*.MP4` ... `Videos/train/
|
|
|
|
| 67 |
| 🎬 Test videos | `Videos/test/P015_test/*.MP4`, `Videos/test/P016_test/*.MP4` | Untrimmed videos for the held-out test subjects. |
|
| 68 |
| 🏷️ Training labels | `Annotations/ASTime_Annotations_train/annotation_train_labels/*.json` | Standard activity-state transition labels for training videos. |
|
|
|
|
| 69 |
| 🏷️ Test labels | `Annotations/ASTime_Annotations_test/annotation_test_label/*.json` | Standard activity-state transition labels for test videos. |
|
| 70 |
| 💬 Training captions | `Annotations/ASTime_Annotations_train/annotation_train_captioned/*.json` | Auxiliary natural-language captioned annotations for training videos. |
|
|
|
|
| 71 |
|
| 72 |
The `data/` directory contains a normalized Parquet representation of the training caption annotations for Hugging Face Dataset Viewer visualization. The original videos and JSON annotation files remain the canonical source files under `Videos/` and `Annotations/`, respectively.
|
| 73 |
|
|
@@ -75,12 +78,12 @@ Naming follows the same anonymized subject/video ID convention across videos and
|
|
| 75 |
|
| 76 |
| Item | Example |
|
| 77 |
|---|---|
|
| 78 |
-
| Subject folder | `P001_train`, `P015_test` |
|
| 79 |
| Video file | `P001_train_1-1.MP4` |
|
| 80 |
| Standard label file | `P001_train_1-1.json` |
|
| 81 |
| Video ID / JSON key | `P001_train_1-1` |
|
| 82 |
|
| 83 |
-
The subject IDs are anonymized as `P001` through `P016`. The training split contains `P001` to `P014`, and the testing split contains `P015` and `P016`.
|
| 84 |
|
| 85 |
## 📝 Annotation Format
|
| 86 |
|
|
@@ -93,6 +96,7 @@ Use the shared video ID, i.e. the file stem without extension, to locate the cor
|
|
| 93 |
| Video | Annotation |
|
| 94 |
|---|---|
|
| 95 |
| `Videos/train/P001_train/P001_train_1-1.MP4` | `Annotations/ASTime_Annotations_train/annotation_train_labels/P001_train_1-1.json` |
|
|
|
|
| 96 |
| `Videos/test/P015_test/P015_test_1-1.MP4` | `Annotations/ASTime_Annotations_test/annotation_test_label/P015_test_1-1.json` |
|
| 97 |
|
| 98 |
### Standard Label Example
|
|
@@ -116,7 +120,7 @@ Standard label files use compact activity-state labels in the `text` field:
|
|
| 116 |
|
| 117 |
### Captioned Annotation Example
|
| 118 |
|
| 119 |
-
The training
|
| 120 |
|
| 121 |
```json
|
| 122 |
{
|
|
@@ -137,19 +141,24 @@ Field definitions:
|
|
| 137 |
|
| 138 |
| Field | Type | Description |
|
| 139 |
|---|---|---|
|
| 140 |
-
| `t1_caption` | string | Previous-state natural-language caption when available. This field is empty in the standard label annotations and populated in the auxiliary training caption files. |
|
| 141 |
| `start_time` | float | Start time, in seconds, of the temporal window associated with the transition event. |
|
| 142 |
| `timestamp` | float | Activity-state transition timestamp, in seconds. This is the target timestamp to localize. |
|
| 143 |
| `end_time` | float | End time, in seconds, of the temporal window associated with the transition event. |
|
| 144 |
| `text` | string | Target activity-state label or natural-language target-state caption, depending on the annotation directory. |
|
| 145 |
-
| `flag` | integer | Auxiliary annotation flag retained from the annotation process. In the current release, 3,
|
| 146 |
|
| 147 |
For the main activity-state transition timestamp task, use:
|
| 148 |
|
| 149 |
- Training labels: `Annotations/ASTime_Annotations_train/annotation_train_labels/`
|
|
|
|
| 150 |
- Test labels: `Annotations/ASTime_Annotations_test/annotation_test_label/`
|
| 151 |
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
|
| 154 |
All standard label annotations satisfy:
|
| 155 |
|
|
@@ -186,7 +195,7 @@ When facing ambiguous boundaries (e.g., the transition between reaching for a bo
|
|
| 186 |
|
| 187 |
| Posture | Train | Test | Total |
|
| 188 |
|---|---:|---:|---:|
|
| 189 |
-
| standing | 1,
|
| 190 |
| sitting | 1,257 | 230 | 1,487 |
|
| 191 |
| lying | 326 | 92 | 418 |
|
| 192 |
|
|
|
|
| 25 |
|
| 26 |
ASTime, short for **Activity State Transition Timestamp**, is a video dataset for studying real-time perception of human activity changes from a robotic perspective. Instead of only providing the start and end time of an activity segment, ASTime explicitly annotates the **transition timestamp**: the moment at which a new human activity state becomes semantically distinguishable from the previous state.
|
| 27 |
|
| 28 |
+
The released dataset contains anonymized, muted, untrimmed long videos collected in constructed home-like laboratory environments, together with JSON annotations for activity-state transition timestamp localization. The train/validation/test split is subject-disjoint to evaluate generalization to unseen participants.
|
| 29 |
|
| 30 |
## 📌 Dataset Summary
|
| 31 |
|
|
|
|
| 63 |
|
| 64 |
| Component | Path pattern | Description |
|
| 65 |
|---|---|---|
|
| 66 |
+
| 🎬 Training videos | `Videos/train/P001_train/*.MP4` ... `Videos/train/P013_train/*.MP4` | Untrimmed videos for the training subjects. |
|
| 67 |
+
| 🎬 Validation videos | `Videos/validation/P012_validation/*.MP4`, `Videos/validation/P014_validation/*.MP4` | Untrimmed videos for the validation subjects. |
|
| 68 |
| 🎬 Test videos | `Videos/test/P015_test/*.MP4`, `Videos/test/P016_test/*.MP4` | Untrimmed videos for the held-out test subjects. |
|
| 69 |
| 🏷️ Training labels | `Annotations/ASTime_Annotations_train/annotation_train_labels/*.json` | Standard activity-state transition labels for training videos. |
|
| 70 |
+
| 🏷️ Validation labels | `Annotations/ASTime_Annotations_validation/annotation_validation_labels/*.json` | Standard activity-state transition labels for validation videos. |
|
| 71 |
| 🏷️ Test labels | `Annotations/ASTime_Annotations_test/annotation_test_label/*.json` | Standard activity-state transition labels for test videos. |
|
| 72 |
| 💬 Training captions | `Annotations/ASTime_Annotations_train/annotation_train_captioned/*.json` | Auxiliary natural-language captioned annotations for training videos. |
|
| 73 |
+
| 💬 Validation captions | `Annotations/ASTime_Annotations_validation/annotation_validation_captioned/*.json` | Auxiliary natural-language captioned annotations for validation videos. |
|
| 74 |
|
| 75 |
The `data/` directory contains a normalized Parquet representation of the training caption annotations for Hugging Face Dataset Viewer visualization. The original videos and JSON annotation files remain the canonical source files under `Videos/` and `Annotations/`, respectively.
|
| 76 |
|
|
|
|
| 78 |
|
| 79 |
| Item | Example |
|
| 80 |
|---|---|
|
| 81 |
+
| Subject folder | `P001_train`, `P012_validation`, `P015_test` |
|
| 82 |
| Video file | `P001_train_1-1.MP4` |
|
| 83 |
| Standard label file | `P001_train_1-1.json` |
|
| 84 |
| Video ID / JSON key | `P001_train_1-1` |
|
| 85 |
|
| 86 |
+
The subject IDs are anonymized as `P001` through `P016`. The training split contains `P001` to `P011` and `P013`, the validation split contains `P012` and `P014`, and the testing split contains `P015` and `P016`.
|
| 87 |
|
| 88 |
## 📝 Annotation Format
|
| 89 |
|
|
|
|
| 96 |
| Video | Annotation |
|
| 97 |
|---|---|
|
| 98 |
| `Videos/train/P001_train/P001_train_1-1.MP4` | `Annotations/ASTime_Annotations_train/annotation_train_labels/P001_train_1-1.json` |
|
| 99 |
+
| `Videos/validation/P012_validation/P012_validation_1-1.MP4` | `Annotations/ASTime_Annotations_validation/annotation_validation_labels/P012_validation_1-1.json` |
|
| 100 |
| `Videos/test/P015_test/P015_test_1-1.MP4` | `Annotations/ASTime_Annotations_test/annotation_test_label/P015_test_1-1.json` |
|
| 101 |
|
| 102 |
### Standard Label Example
|
|
|
|
| 120 |
|
| 121 |
### Captioned Annotation Example
|
| 122 |
|
| 123 |
+
The training and validation splits also provide auxiliary captioned annotations in `annotation_train_captioned/` and `annotation_validation_captioned/`. In these files, `t1_caption` describes the previous state and `text` describes the target state in natural language:
|
| 124 |
|
| 125 |
```json
|
| 126 |
{
|
|
|
|
| 141 |
|
| 142 |
| Field | Type | Description |
|
| 143 |
|---|---|---|
|
| 144 |
+
| `t1_caption` | string | Previous-state natural-language caption when available. This field is empty in the standard label annotations and populated in the auxiliary training and validation caption files. |
|
| 145 |
| `start_time` | float | Start time, in seconds, of the temporal window associated with the transition event. |
|
| 146 |
| `timestamp` | float | Activity-state transition timestamp, in seconds. This is the target timestamp to localize. |
|
| 147 |
| `end_time` | float | End time, in seconds, of the temporal window associated with the transition event. |
|
| 148 |
| `text` | string | Target activity-state label or natural-language target-state caption, depending on the annotation directory. |
|
| 149 |
+
| `flag` | integer | Auxiliary annotation flag retained from the annotation process. In the current release, 3,408 events have `flag = 0` and 56 events have `flag = 1`. |
|
| 150 |
|
| 151 |
For the main activity-state transition timestamp task, use:
|
| 152 |
|
| 153 |
- Training labels: `Annotations/ASTime_Annotations_train/annotation_train_labels/`
|
| 154 |
+
- Validation labels: `Annotations/ASTime_Annotations_validation/annotation_validation_labels/`
|
| 155 |
- Test labels: `Annotations/ASTime_Annotations_test/annotation_test_label/`
|
| 156 |
|
| 157 |
+
For the auxiliary natural-language captioned representation, use:
|
| 158 |
+
|
| 159 |
+
- Training captions: `Annotations/ASTime_Annotations_train/annotation_train_captioned/`
|
| 160 |
+
- Validation captions: `Annotations/ASTime_Annotations_validation/annotation_validation_captioned/`
|
| 161 |
+
|
| 162 |
|
| 163 |
All standard label annotations satisfy:
|
| 164 |
|
|
|
|
| 195 |
|
| 196 |
| Posture | Train | Test | Total |
|
| 197 |
|---|---:|---:|---:|
|
| 198 |
+
| standing | 1,336 | 223 | 1,559 |
|
| 199 |
| sitting | 1,257 | 230 | 1,487 |
|
| 200 |
| lying | 326 | 92 | 418 |
|
| 201 |
|