ARCTIC approved raw v1.0 batch 341
Browse files
ARCTIC/raw/data/meta.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ec627bcb8f17be33defc985a79d1dd744ee44b1f1b5732ed163ecef217c0c6e
|
| 3 |
+
size 95270963
|
ARCTIC/raw/data/raw_seqs.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c74f8cdb5fb4f521d99132faf0471432bab5db97c7653493b01920d2ad48535
|
| 3 |
+
size 225334351
|
ARCTIC/raw/data/splits_json.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99af5f6759c727df07ef897db6d293cc866d465e6b3d6095579fcb62ac831b7d
|
| 3 |
+
size 2734
|
ARCTIC/raw/script/official/docs/data/README.md
ADDED
|
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ARCTIC dataset
|
| 2 |
+
|
| 3 |
+
> ✨CVPR 2024 Highlight: HOLD is the first method that jointly reconstructs articulated hands and objects from monocular videos without assuming a pre-scanned object template and 3D hand-object training data. See our [project page](https://github.com/zc-alexfan/hold) for details.
|
| 4 |
+
>
|
| 5 |
+
> <p align="center">
|
| 6 |
+
> <img src="../static/hold/mug_ours.gif" alt="HOLD Reconstruction Example" width="300"/> <!-- Adjust width as needed -->
|
| 7 |
+
> </p>
|
| 8 |
+
>
|
| 9 |
+
> <p align="center">
|
| 10 |
+
> <img src="../static/hold/mug_ref.png" alt="Reference for HOLD Reconstruction" width="300"/> <!-- Adjust width as needed -->
|
| 11 |
+
> </p>
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
## Table of content
|
| 15 |
+
|
| 16 |
+
- [Overview](#overview)
|
| 17 |
+
- [Sanity check](#sanity-check-on-the-data-pipeline)
|
| 18 |
+
- [Download full ARCTIC](#download-full-arctic)
|
| 19 |
+
- [Data documentation](data_doc.md)
|
| 20 |
+
- [Data preprocessing and splitting](processing.md)
|
| 21 |
+
- [Data visualization](visualize.md)
|
| 22 |
+
|
| 23 |
+
## Overview
|
| 24 |
+
|
| 25 |
+
So far ARCTIC provides the following data and models:
|
| 26 |
+
- `arctic_data/data/images [649G]`: Full 2K-resolution images
|
| 27 |
+
- `arctic_data/data/cropped_images [116G]`: loosely cropped version of the original images around the object center for fast image loading
|
| 28 |
+
- `arctic_data/data/raw_seqs [215M]`: raw GT sequences in world coordinate (e.g., MANO, SMPLX parameters, egocentric camera trajectory, object poses)
|
| 29 |
+
- `arctic_data/data/splits [18G]`: splits created by aggregating processed sequences together based on the requirement of a specific split.
|
| 30 |
+
- `arctic_data/data/feat [14G]`: validation set image features needed for LSTM models.
|
| 31 |
+
- `arctic_data/data/splits_json [40K]`: json files to define the splits
|
| 32 |
+
- `meta [91M]`: camera parameters, object info, subject info, subject personalized vtemplates, object templates.
|
| 33 |
+
- `arctic_data/model [6G]`: weights of our CVPR baselines, and the same baseline models re-trained after upgrading dependencies.
|
| 34 |
+
|
| 35 |
+
See [`data_doc.md`](./data_doc.md) for an explanation of the data you will download, how the files are related to each others, and details on each file type.
|
| 36 |
+
|
| 37 |
+
## Sanity check on the data pipeline
|
| 38 |
+
|
| 39 |
+
This section provides instructions on downloading a mini-version of ARCTIC to test out the downloading, post-processing, and visualization pipeline before downloading the entire dataset.
|
| 40 |
+
|
| 41 |
+
⚠️ Register accounts on [ARCTIC](https://arctic.is.tue.mpg.de/register.php), [SMPL-X](https://smpl-x.is.tue.mpg.de/), and [MANO](https://mano.is.tue.mpg.de/), and then export your the username and password with the following commands:
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
export ARCTIC_USERNAME=<ENTER_YOUR_ARCTIC_EMAIL>
|
| 45 |
+
export ARCTIC_PASSWORD=<ENTER_YOUR_ARCTIC_PASSWD>
|
| 46 |
+
export SMPLX_USERNAME=<ENTER_YOUR_SMPLX_EMAIL>
|
| 47 |
+
export SMPLX_PASSWORD=<ENTER_YOUR_SMPLX_PASSWD>
|
| 48 |
+
export MANO_USERNAME=<ENTER_YOUR_MANO_EMAIL>
|
| 49 |
+
export MANO_PASSWORD=<ENTER_YOUR_MANO_PASSWD>
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Before starting, check if your credentials are exported correctly (following the commands above).
|
| 53 |
+
|
| 54 |
+
```bash
|
| 55 |
+
echo $ARCTIC_USERNAME
|
| 56 |
+
echo $ARCTIC_PASSWORD
|
| 57 |
+
echo $SMPLX_USERNAME
|
| 58 |
+
echo $SMPLX_PASSWORD
|
| 59 |
+
echo $MANO_USERNAME
|
| 60 |
+
echo $MANO_PASSWORD
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
⚠️ If the echo is empty, `export` your credentials following the instructions above before moving forward.
|
| 64 |
+
|
| 65 |
+
Dry run the download to make sure nothing breaks:
|
| 66 |
+
|
| 67 |
+
```bash
|
| 68 |
+
chmod +x ./bash/*.sh
|
| 69 |
+
./bash/download_dry_run.sh
|
| 70 |
+
python scripts_data/unzip_download.py # unzip downloaded data
|
| 71 |
+
python scripts_data/checksum.py # verify checksums
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
After running the above, you should expect:
|
| 75 |
+
|
| 76 |
+
```
|
| 77 |
+
➜ ls unpack/arctic_data/data
|
| 78 |
+
cropped_images images meta raw_seqs splits_json
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
If this unpacked data is what you want at the end, rename it `data` as the code expects the unpacked data is at `./data`:
|
| 82 |
+
|
| 83 |
+
```bash
|
| 84 |
+
mv unpack data
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
To visualize a sequence, you need to:
|
| 88 |
+
1. Process the sequence with `--export_verts`
|
| 89 |
+
2. Launch `scripts_data/visualizer.py`
|
| 90 |
+
3. Hit `<SPACE>` on your keyboard to play the animation.
|
| 91 |
+
|
| 92 |
+
```bash
|
| 93 |
+
# process a specific seq; exporting the vertices for visualization
|
| 94 |
+
python scripts_data/process_seqs.py --mano_p ./data/arctic_data/data/raw_seqs/s01/capsulemachine_use_01.mano.npy --export_verts
|
| 95 |
+
python scripts_data/visualizer.py --seq_p ./outputs/processed_verts/seqs/s01/capsulemachine_use_01.npy --object --mano
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
Our `scripts_data/visualizer.py` supports the following features (see [`visualize.md`](visualize.md)):
|
| 100 |
+
- Select entities to include in the viewer (MANO/SMPL-X/object/images)
|
| 101 |
+
- Interactive mode vs. headless rendering mode
|
| 102 |
+
- Render segmentation masks, depth and GT overlaied on videos.
|
| 103 |
+
|
| 104 |
+
## Download full ARCTIC
|
| 105 |
+
|
| 106 |
+
Depending on your usage of the dataset, we suggest different download protocols. Choose the sections below that suits your needs.
|
| 107 |
+
|
| 108 |
+
Before starting, check if your credentials are exported correctly (following the commands above).
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
echo $ARCTIC_USERNAME
|
| 112 |
+
echo $ARCTIC_PASSWORD
|
| 113 |
+
echo $SMPLX_USERNAME
|
| 114 |
+
echo $SMPLX_PASSWORD
|
| 115 |
+
echo $MANO_USERNAME
|
| 116 |
+
echo $MANO_PASSWORD
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
⚠️ If the echo is empty, `export` your credentials following the instructions above before moving forward.
|
| 120 |
+
|
| 121 |
+
Also gives execution piviliage for the scripts:
|
| 122 |
+
```bash
|
| 123 |
+
chmod +x ./bash/*.sh
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
### Using the same splits as our CVPR baselines
|
| 127 |
+
|
| 128 |
+
This is for people who want to have follow-up work to compare with our ARCTIC baselines. We provide pre-processed data and the same splits in the paper. That is, you don't need to preprocess the data yourself.
|
| 129 |
+
|
| 130 |
+
```bash
|
| 131 |
+
./bash/clean_downloads.sh
|
| 132 |
+
./bash/download_body_models.sh
|
| 133 |
+
./bash/download_cropped_images.sh
|
| 134 |
+
./bash/download_splits.sh
|
| 135 |
+
./bash/download_misc.sh
|
| 136 |
+
./bash/download_baselines.sh # (optional) weights of our pre-trained CVPR baselines
|
| 137 |
+
./bash/download_feat.sh # (optional) images features being used by the pre-trained CVPR LSTM baselines
|
| 138 |
+
python scripts_data/checksum.py # verify checksums; this could take a while
|
| 139 |
+
python scripts_data/unzip_download.py # unzip downloaded data
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
### Having full control on ARCTIC dataset
|
| 143 |
+
|
| 144 |
+
This section is what you need if one of the following applies to you:
|
| 145 |
+
- You have custom usage such as having a different way to preprocess the data, having different splits, having access to the full resolution images.
|
| 146 |
+
- You want a hard copy for the entire dataset (run all the following commands).
|
| 147 |
+
|
| 148 |
+
If you do not need images (say, you want to study human motion generation), you can skip the "optional" part. However, we suggest to download all data to save youself from headaches.
|
| 149 |
+
|
| 150 |
+
Clean download cache:
|
| 151 |
+
```bash
|
| 152 |
+
./bash/clean_downloads.sh
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
Download "smaller" files (required):
|
| 156 |
+
|
| 157 |
+
```bash
|
| 158 |
+
./bash/download_body_models.sh
|
| 159 |
+
./bash/download_misc.sh
|
| 160 |
+
```
|
| 161 |
+
|
| 162 |
+
Download cropped images (optional):
|
| 163 |
+
|
| 164 |
+
```bash
|
| 165 |
+
./bash/download_cropped_images.sh
|
| 166 |
+
```
|
| 167 |
+
|
| 168 |
+
Download full-resolution images (optional):
|
| 169 |
+
|
| 170 |
+
⚠️ If you just want to train and compete with our CVPR models, you only need the cropped images above. The script below download the full-resolution images which can take a while.
|
| 171 |
+
|
| 172 |
+
```bash
|
| 173 |
+
./bash/download_images.sh
|
| 174 |
+
```
|
| 175 |
+
|
| 176 |
+
Download pre-processed splits (optional):
|
| 177 |
+
|
| 178 |
+
```bash
|
| 179 |
+
./bash/download_splits.sh
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
Download image features used by our CVPR LSTM models (optional):
|
| 183 |
+
|
| 184 |
+
```bash
|
| 185 |
+
./bash/download_feat.sh
|
| 186 |
+
```
|
| 187 |
+
|
| 188 |
+
Download our pre-trained CVPR model weights (optional):
|
| 189 |
+
|
| 190 |
+
```bash
|
| 191 |
+
./bash/download_baselines.sh
|
| 192 |
+
```
|
| 193 |
+
|
| 194 |
+
Download MoCap related data (optional):
|
| 195 |
+
|
| 196 |
+
```bash
|
| 197 |
+
./bash/download_mocap.sh
|
| 198 |
+
```
|
| 199 |
+
|
| 200 |
+
After downloading what you need, you can now verify the checksum for corruption, and unzip them all:
|
| 201 |
+
|
| 202 |
+
```bash
|
| 203 |
+
python scripts_data/checksum.py # verify checksums; this could take a while
|
| 204 |
+
python scripts_data/unzip_download.py # unzip downloaded data
|
| 205 |
+
```
|
| 206 |
+
|
| 207 |
+
The raw downloaded data can be found under `downloads`. The unzipped data and models can be found under `unpack`. See [`processing.md`](processing.md) for explanation of how the files are organized and what they represent.
|
| 208 |
+
|
| 209 |
+
|
ARCTIC/raw/script/official/docs/data/data_doc.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Data documentation
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
+
|
| 5 |
+
Data processing pipeline (`raw_seqs -> processed_seqs -> splits`):
|
| 6 |
+
- `raw_seqs` provides GT such as MANO/SMPLX parameters in the world coordinate.
|
| 7 |
+
- `processed_seqs` is the result of converting GT parameters from `raw_seqs` to data such as MANO joints in individual camera coodinates according to the camera parameters in `meta`.
|
| 8 |
+
- `splits` aggregates the `processed_seqs` into training, validation, and test splits. The split is defined by `splits_json` based on sequence names.
|
| 9 |
+
|
| 10 |
+
Therefore, depending on your end goal, you might not need all the data we provide:
|
| 11 |
+
- If your goal to reconstruct hand-object or estimate their dense relative distances as in the same setting of `ArcticNet` and `InterField` baselines in our CVPR paper, we have provided preprocessed data (see [`model/README.md`](../model/README.md)).
|
| 12 |
+
- If your goal is to generate full human or hand motion interacting object, you only need `raw_seqs` and `meta` as they provide SMPLX and MANO GT and the object template.
|
| 13 |
+
- If you want to customize your usage (preprocessing, building custom splits), for custom data processing, one can modify the stage `raw_seqs -> processed_seqs`; For custom splits, one can modify `processed_seqs -> splits` (see advanced usage below).
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## Data folder
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
arctic_data/data/: ROOT
|
| 20 |
+
arctic_data/data/images/
|
| 21 |
+
arctic_data/data/images/backgrounds/: background images
|
| 22 |
+
arctic_data/data/croppped_images/
|
| 23 |
+
arctic_data/data/raw_seqs/
|
| 24 |
+
s01/
|
| 25 |
+
*.egocam.dist.npy: egocentric camera poses
|
| 26 |
+
*.mano.npy: MANO parameters
|
| 27 |
+
*.object.npy: object parameters
|
| 28 |
+
*.smplx.npy: SMPLX parameters
|
| 29 |
+
s02/
|
| 30 |
+
..
|
| 31 |
+
s10/
|
| 32 |
+
arctic_data/data/processed_seqs/
|
| 33 |
+
arctic_data/data/processed_seqs/s01/
|
| 34 |
+
*.npy: individual processed sequences
|
| 35 |
+
arctic_data/data/processed_seqs/s02
|
| 36 |
+
..
|
| 37 |
+
arctic_data/data/processed_seqs/s10
|
| 38 |
+
arctic_data/data/splits/
|
| 39 |
+
arctic_data/data/splits_json/
|
| 40 |
+
arctic_data/data/meta/
|
| 41 |
+
misc.json: camera parameters, offsets used to sync images and groundtruth, image sizes, subject gender
|
| 42 |
+
object_vtemplates: object templates
|
| 43 |
+
subject_vtemplates: personalized vtemplate for each subject
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
**Object models**
|
| 47 |
+
|
| 48 |
+
As stated above, object models are stored under the object template directory. Here we detail each file in the object model directory by taking the "box" as an example.
|
| 49 |
+
|
| 50 |
+
We have three types of meshes to define the object model:
|
| 51 |
+
- a simplified mesh without texture (used in our cvpr paper for numbers)
|
| 52 |
+
- `mesh.obj`: mesh without texture
|
| 53 |
+
- `parts.json`: each line represent the part of a mesh vertex belong to (1 for top; 0 for bottom)
|
| 54 |
+
- two meshes (top and bottom parts of the object) without texture
|
| 55 |
+
- `top.obj`: top part object mesh
|
| 56 |
+
- `bottom.obj`: bottom part object mesh
|
| 57 |
+
- a denser mesh with texture
|
| 58 |
+
- `mesh_tex.obj`: textured mesh
|
| 59 |
+
- `material.jpg`: texture map
|
| 60 |
+
- `material.mtl`: texture map
|
| 61 |
+
|
| 62 |
+
Note that the three types of meshes do not share topology, but they are aligned in the object canonical space such that they overlap to each other.
|
| 63 |
+
|
| 64 |
+
Others:
|
| 65 |
+
- `object_params.json`: define mocap marker locations, 3D bounding box corners, object 3D keypoints used for training (16 keypoints for each part) in the object canonical space
|
| 66 |
+
- `top_keypoints_300.json`: 300 keypoints on the top part of object using farthest point sampling
|
| 67 |
+
- `bottom_keypoints_300.json`: bottom part
|
| 68 |
+
|
| 69 |
+
**MoCap data**
|
| 70 |
+
|
| 71 |
+
Our MoCap release contains three zip files (`mocap_c3d.zip`, `mocap_npy.zip`, `smplx_corres.zip`). The first two are the mocap data, including the marker names and the marker point cloud sequence in c3d format (can be directly viewed via MoCap software such as [Mokka](https://biomechanical-toolkit.github.io/mokka/)) or npy format (can be viewed with AITViewer; see [`[data/visualize.md]`](visualize.md)). `smplx_corres.zip` contains the SMPLX correspondances for the markers. Object marker correspondences can be found in `object_params.json` under each object's vtemplate folder. Note that MoCap marker locations in xyz is in milimeter.
|
| 72 |
+
|
| 73 |
+
For the SMPLX correspondances, there are two types of correspondances from MoSH++ (following GRAB): Red markers and blue markers. The blue correspondanes are the SMPLX vertex IDs corresponding to the markers in capture. The red markers are the actual marker locations optimized during stage-1 moshing process. See MoSH++ paper for more details.
|
| 74 |
+
|
| 75 |
+
## Model folder
|
| 76 |
+
|
| 77 |
+
This folder stores the pre-trained models used in our CVPR paper, including their checkpoints and evaluation results (validation set). Each hashcode is the name of the model.
|
| 78 |
+
|
| 79 |
+
```
|
| 80 |
+
arctic_data/models/
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
CVPR paper pre-trained weights:
|
| 84 |
+
|
| 85 |
+
| **EXP** | **Splits** | **Method** |
|
| 86 |
+
|:---------:|:----------:|:---------------:|
|
| 87 |
+
| 3558f1342 | P1 | ArcticNet-SF |
|
| 88 |
+
| 423c6057b | P1 | ArcticNet-LSTM |
|
| 89 |
+
| 28bf3642f | P2 | ArcticNet-SF |
|
| 90 |
+
| 40ae50712 | P2 | ArcticNet-LSTM (dropout on) |
|
| 91 |
+
| 1f9ac0b15 | P1 | InterField-SF |
|
| 92 |
+
| 546c1e997 | P1 | InterField-LSTM |
|
| 93 |
+
| 58e200d16 | P2 | InterField-SF |
|
| 94 |
+
| 701a72569 | P2 | InterField-LSTM |
|
| 95 |
+
|
| 96 |
+
Weights after code release:
|
| 97 |
+
|
| 98 |
+
| **EXP** | **Splits** | **Method** |
|
| 99 |
+
|:---------:|:----------:|:---------------:|
|
| 100 |
+
| 66417ff6e | P1 | ArcticNet-SF |
|
| 101 |
+
| fdc34e6c3 | P1 | ArcticNet-LSTM |
|
| 102 |
+
| 7d09884c6 | P2 | ArcticNet-SF |
|
| 103 |
+
| 49abdaee9 | P2 | ArcticNet-LSTM (dropout off) |
|
| 104 |
+
| fb59bac27 | P1 | InterField-SF |
|
| 105 |
+
| 5e6f6aeb9 | P1 | InterField-LSTM |
|
| 106 |
+
| 782c39821 | P2 | InterField-SF |
|
| 107 |
+
| ec90691f8 | P2 | InterField-LSTM |
|
| 108 |
+
|
| 109 |
+
The model `40ae50712` is the model in the CVPR paper but it has dropout turned on by mistake. `49abdaee9` is the retrained version with dropout turned off. All other LSTM models are trained without dropout.
|
| 110 |
+
|
| 111 |
+
## Documentation on file formats
|
| 112 |
+
|
| 113 |
+
Here we document the details of each field of our dataset. See [FAQ](https://github.com/zc-alexfan/arctic/blob/master/docs/faq.md) for commonly asked questions and how the 2D/3D spaces and cropping are related.
|
| 114 |
+
|
| 115 |
+
File: `'./data/arctic_data/data/raw_seqs/s01/box_grab_01.mano.npy'`
|
| 116 |
+
|
| 117 |
+
- `s01/box_grab_01` denotes: subject 01 and sequence name `box_grab_01`
|
| 118 |
+
- `rot`: MANO global rotation in axis-angle; `frames x 3`
|
| 119 |
+
- `pose`: MANO pose parameters in axis-angle; `frames x 45`
|
| 120 |
+
- `trans`: MANO global translation; `frames x 3`
|
| 121 |
+
- `shape`: MANO shape parameters; `frames x 10`
|
| 122 |
+
- `fitting_err`: MANO global rotation; `frames`
|
| 123 |
+
|
| 124 |
+
File: `'./data/arctic_data/data/raw_seqs/s01/box_grab_01.smplx.npy'`
|
| 125 |
+
|
| 126 |
+
- `transl`: SMPL-X global translation; `frames x 3`
|
| 127 |
+
- `global_orient`: SMPL-X global rotation in axis-angle; `frames x 3`
|
| 128 |
+
- `body_pose`: SMPL-X body pose in axis-angle; `frames x 63`
|
| 129 |
+
- `jaw_pose`: SMPL-X jaw pose in axis-angle; `frames x 3`
|
| 130 |
+
- `leye_pose`: SMPL-X left eye pose in axis-angle; `frames x 3`
|
| 131 |
+
- `reye_pose`: SMPL-X right eye pose in axis-angle; `frames x 3`
|
| 132 |
+
- `left_hand_pose`: SMPL-X left hand pose in axis-angle; `frames x 45`
|
| 133 |
+
- `right_hand_pose`: SMPL-X right hand pose in axis-angle; `frames x 45`
|
| 134 |
+
|
| 135 |
+
File: `'./data/arctic_data/data/raw_seqs/s01/box_grab_01.egocam.dist.npy'`
|
| 136 |
+
|
| 137 |
+
- `R_k_cam_np`: Rotation matrix for the egocentric camera pose; `frames x 3 x 3`
|
| 138 |
+
- `T_k_cam_np`: Translation for the egocentric camera pose; `frames x 3 x 1`
|
| 139 |
+
- `intrinsics`: Egocentric camera intrinsics; `3 x 3`
|
| 140 |
+
- `ego_markers.ref`: markers on camera in the canonical frame; `markers x 3`
|
| 141 |
+
- `ego_markers.label`: names for the markers; `markers`
|
| 142 |
+
- `R0`: Rotation for the camera pose in canonical space; `3 x 3`
|
| 143 |
+
- `T0`: Rotation for the camera pose in canonical space; `3 x 1`
|
| 144 |
+
- `dist8`: Calibrated distortion parameters; `8`
|
| 145 |
+
|
| 146 |
+
File: `'./data/arctic_data/data/raw_seqs/s01/box_grab_01.object.npy'`
|
| 147 |
+
|
| 148 |
+
- Articulated object pose: 7 dimensions to define the pose (1 dim for articulation, 3 dims for rotation in axis-angle, 3 dims for translation) ; `frames x 7`
|
| 149 |
+
|
| 150 |
+
File: `'./data/arctic_data/data/splits/p1_val.npy'`
|
| 151 |
+
|
| 152 |
+
- `data_dict - s05/box_use_01 - cam_coord`:
|
| 153 |
+
- About views (10 dimensions): 1 egocentric view, 8 allocentric views, 1 egocentric view with distortion
|
| 154 |
+
- `joints.right`: right hand joints in camera coordinate, frames x views x 21 x 3
|
| 155 |
+
- `joints.left`: left hand joints in camera coordinate, frames x views x 21 x 3
|
| 156 |
+
- `bbox3d`: two 3D bounding boxes around object parts, frames x views x 16 x 3
|
| 157 |
+
- `kp3d`: 3D keypoints for two object parts, frames x views x 32 x 3
|
| 158 |
+
- `joints.smplx`: SMPL-X joints in camera coordinate, frames x views x 127 x 3
|
| 159 |
+
- `rot_r_cam`: MANO hand rotation for right hand in axis-angle, frames x views x 3
|
| 160 |
+
- `rot_l_cam`: MANO hand rotation for left hand in axis-angle, frames x views x 3
|
| 161 |
+
- `obj_rot_cam`: object rotation in axis-angle, frames x views x 3
|
| 162 |
+
- `is_valid`: indicator of whether the image is valid for evaluation, frames x views
|
| 163 |
+
- `left_valid`: indicator of whether the hand is valid for evaluation, frames x views
|
| 164 |
+
- `right_valid`: indicator of whether the hand is valid for evaluation, frames x views
|
| 165 |
+
- `data_dict - s05/box_use_01 - 2d`
|
| 166 |
+
- `joints.right`: 2D projection of right-hand joints in image space; `frames x views x 21 x 2`
|
| 167 |
+
- `joints.left`: 2D projection of left-hand joints in image space; `frames x views x 21 x 2`
|
| 168 |
+
- `bbox3d`: 2D projection of 3D bounding box corners in image space; `frames x views x 16 x 2`
|
| 169 |
+
- `kp3d`: 2D projection of 3D keypoints in image space; `frames x views x 32 x 2`
|
| 170 |
+
- `joints.smplx`: 2D projection of SMPL-X joints in image space; `frames x views x 127 x 2`
|
| 171 |
+
- `data_dict - s05/box_use_01 - bbox`: Bounding box (squared) on image for network input; three-dimensional `cx, cy, scale` where `(cx, cy`) is the bbox center; `scale*200` is the bounding box width and height; `frames x views x 3`
|
| 172 |
+
- `data_dict - s05/box_use_01 - params`
|
| 173 |
+
- `rot_r`: MANO right-hand rotation (axis-angle) in world coordinate; `frames x 3`
|
| 174 |
+
- `pose_r`: MANO right-hand pose (axis-angle) in world coordinate; `frames x 45`
|
| 175 |
+
- `trans_r`: MANO right-hand translation in world coordinate; `frames x 3`
|
| 176 |
+
- `shape_r`: MANO right-hand shape in world coordinate; `frames x 10`
|
| 177 |
+
- `fitting_err_r`: Fitting error for MANO; `frames`
|
| 178 |
+
- `rot_l`: MANO left-hand rotation (axis-angle) in world coordinate; `frames x 3`
|
| 179 |
+
- `pose_l`: MANO left-hand pose (axis-angle) in world coordinate; `frames x 45`
|
| 180 |
+
- `trans_l`: MANO left-hand translation in world coordinate; `frames x 3`
|
| 181 |
+
- `shape_l`: MANO left-hand shape in world coordinate; `frames x 10`
|
| 182 |
+
- `fitting_err_l`: Fitting error for MANO; `frames`
|
| 183 |
+
- `smplx_transl`: SMPL-X translation in world coordinate; `frames x 3`
|
| 184 |
+
- `smplx_global_orient`: SMPL-X global orientation in world coordinate; `frames x 3`
|
| 185 |
+
- `smplx_body_pose`: SMPL-X body pose (axis-angle) in world coordinate; `frames x 63`
|
| 186 |
+
- `smplx_jaw_pose`: SMPL-X jaw pose in world coordinate; `frames x 3`
|
| 187 |
+
- `smplx_leye_pose`: SMPL-X left eye pose in world coordinate; `frames x 3`
|
| 188 |
+
- `smplx_reye_pose`: SMPL-X right eye pose in world coordinate; `frames x 3`
|
| 189 |
+
- `smplx_left_hand_pose`: SMPL-X left hand pose in world coordinate; `frames x 45`
|
| 190 |
+
- `smplx_right_hand_pose`: SMPL-X right hand pose in world coordinate; `frames x 45`
|
| 191 |
+
- `obj_arti`: object articulation in radian; `frames`
|
| 192 |
+
- `obj_rot`: object global rotation (axis-angle) in world coordinate; `frames x 3`
|
| 193 |
+
- `obj_trans`: object translation in world coordinate; `frames x 3`
|
| 194 |
+
- `world2ego`: egocentric camera pose; transformation matricies from world to egocentric camera canonical frame; `frames x 4 x 4`
|
| 195 |
+
- `dist`: distortion parameters for egocentric camera; `8`
|
| 196 |
+
- `K_ego`: egocentric camera intrinsics; `3 x 3`
|
| 197 |
+
- `imgnames`: paths to images; `num_images`
|
| 198 |
+
|
| 199 |
+
File: `'./data/arctic_data/data/feat/3558f1342/p1_minival.pt'`
|
| 200 |
+
|
| 201 |
+
- 3558f1342 is the model name
|
| 202 |
+
- `imgnames`: paths to images (used as a unique key); `num_images`
|
| 203 |
+
- `feat_vec`: extracted image features; `num_images x 2048`
|
| 204 |
+
|
| 205 |
+
## Joint convention
|
| 206 |
+
|
| 207 |
+
We use the original MANO joint convention, which is illustrated below:
|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
|