File size: 4,738 Bytes
e2d8e65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1f966d9
e2d8e65
1f966d9
e2d8e65
1f966d9
e2d8e65
 
 
 
 
 
 
 
 
 
 
 
1f966d9
e2d8e65
1f966d9
 
 
e2d8e65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1f966d9
 
 
e2d8e65
 
 
1f966d9
 
 
 
 
 
e2d8e65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---
license: other
license_name: syrip-non-commercial
license_link: LICENSE
pretty_name: SyRIP (Synthetic and Real Infant Pose)
task_categories:
- keypoint-detection
tags:
- infant
- pose-estimation
- coco-keypoints
- synthetic
size_categories:
- 1K<n<10K
configs:
- config_name: default
  data_files:
  - split: train
    path: images/train_infant.tar
  - split: test100
    path: images/validate_infant.tar
  - split: test500
    path: images/validate500_infant.tar
---

# SyRIP: Synthetic and Real Infant Pose

RGB infant images with 17 COCO keypoints and a bounding box per infant, from
[*Invariant Representation Learning for Infant Pose Estimation with Small Data*](https://arxiv.org/abs/2010.06100)
(FG 2021). Code: [ostadabbas/Infant-Pose-Estimation](https://github.com/ostadabbas/Infant-Pose-Estimation).

This repo holds **SyRIP v1.1**, a corrected release. See [Changes from v1.0](#changes-from-v10).

## Contents

| Split | Images archive | Images | Real | Synthetic |
|---|---|---|---|---|
| train | `images/train_infant.tar` | 1200 | 200 | 1000 |
| test100 (main benchmark) | `images/validate_infant.tar` | 96 | 96 | 0 |
| test500 | `images/validate500_infant.tar` | 496 | 496 | 0 |

Test100 is the harder subset of Test500 (complex poses). Real images come from
Google Images and YouTube (100+ infants). Synthetic images are rendered with
12+ subject textures.

Labels are COCO keypoint JSON, one file per split, in `annotations/`:

- `person_keypoints_train_infant.json`
- `person_keypoints_validate_infant.json` (Test100)
- `person_keypoints_validate500_infant.json` (Test500)

Keypoint order: nose, left/right eye, left/right ear, left/right shoulder,
left/right elbow, left/right wrist, left/right hip, left/right knee,
left/right ankle. Each keypoint is `(x, y, v)`: `v=2` visible, `v=1` labelled
but occluded, `v=0` not labelled. Each image record has `is_synthetic`.

After extracting the archives the layout is the one the FiDIP code reads
(`data/syrip/images/<split>/*.jpg`). `MANIFEST.md5` has a checksum for every
extracted file.

## Download

```
hf download omrastogi/Syrip --repo-type dataset --revision v1.1 --local-dir data/syrip
cd data/syrip/images
tar -xf train_infant.tar
tar -xf validate_infant.tar
tar -xf validate500_infant.tar
```

The dataset viewer shows images only; keypoints are in the JSON files.

## Changes from v1.0

v1.0 was distributed as `SyRIP.zip` and `syrip_for_train.zip`. v1.1 changes
labels and split membership only; no image is modified. Full details in
[`CHANGELOG.md`](CHANGELOG.md).

- **1000 synthetic training labels fixed.** `syrip_for_train.zip` had labels
  from a different render batch for every synthetic image. v1.1 uses the
  correct labels from `SyRIP.zip`.
- **`test11.jpg` fixed.** The `syrip_for_train.zip` copy did not match its label.
- **`test83.jpg`, `test84.jpg`.** Test100 and Test500 labels disagreed; both now
  use the Test500 labels.
- **4 train/test duplicates removed** (`test20`, `test42`, `test46`, `test50`):
  Test100 100 → 96, Test500 500 → 496. Pairs in `dedup_report.json`.
- **300 unlabelled training images dropped.**

**Report the dataset version with results.** v1.0 Test100 (100 images) and
v1.1 Test100 (96 images) are not directly comparable.

### Reference results on v1.1

DarkPose HRNet-W48, 384×288, COCO-pretrained.

| Model | Test100 AP | Test500 AP |
|---|---|---|
| Released FiDIP checkpoint (`hrnet_fidip.pth`) | 0.929 | 0.984 |
| Retrained, fine-tune (λ=0), 3 seeds | 0.931 ± 0.006 | 0.983 |
| Retrained, FiDIP (λ=5e-4), 3 seeds | 0.925 ± 0.008 | 0.982 |

## Known issues

- **Shared source videos.** Some train and test images are different frames
  of the same online video (e.g. `train00047`/`test7`), so train and test are not
  independent at the video level.
- **Duplicates inside Test500.** `test7`=`test222`, `test56`=`test217`,
  `test345`=`test349` are byte-identical. Kept so Test500 numbers stay comparable.
- **Test500 is saturated.** Zero-shot COCO HRNet-W48 already scores 0.980 AP.
  Use Test100 to compare methods.
- **Not included:** FiDIP's adult pre-training split (`train_pre_infant`,
  COCO + SURREAL images). It is not infant data and is distributed separately.

## License

Non-commercial research use only. For other uses contact the Augmented
Cognition Lab, Northeastern University: https://ostadabbas.sites.northeastern.edu/

## Citation

```bibtex
@inproceedings{huang2021infant,
  title={Invariant Representation Learning for Infant Pose Estimation with Small Data},
  author={Huang, Xiaofei and Fu, Nihang and Liu, Shuangjun and Ostadabbas, Sarah},
  booktitle={IEEE International Conference on Automatic Face and Gesture Recognition (FG), 2021},
  month={December},
  year={2021}
}
```