Syrip / README.md
omrastogi's picture
SyRIP v1.1: images as one tar per split
1f966d9 verified
|
Raw History Blame Contribute Delete
4.74 kB
metadata
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 (FG 2021). Code: ostadabbas/Infant-Pose-Estimation.

This repo holds SyRIP v1.1, a corrected release. See Changes from v1.0.

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.

  • 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

@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}
}