← Open Source
una-dinosauria

3d-pose-baseline

A simple baseline for 3d human pose estimation in tensorflow. Presented at ICCV 17.

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.46k
Stars
357
Forks
+1
This week
1
Contributors
Created 2017-04-20 · Updated 2026-10-11 · #10257 today
Top developers
una-dinosauria

una-dinosauria/3d-pose-baseline is ranked 10,257 with 1,463 stars.

Same-category comparison

una-dinosauria/3d-pose-baseline is ranked 10,257 among these 8 peers; Sanster/text_renderer is ranked 10,259.

Same-category comparison
NameRankMetrics
lxztju/pytorch_classification10,240
Language:
Jupyter Notebook
Stars:
1,469
Forks:
341
tianweiy/DMD210,242
Language:
Python
Stars:
1,469
Forks:
77
Description:
(NeurIPS 2024 Oral 🔥) Improved Distribution Matching Distillation for Fast Image Synthesis.
szagoruyko/attention-transfer10,252
Language:
Jupyter Notebook
Stars:
1,465
Forks:
273
Description:
Improving Convolutional Networks via Attention Transfer (ICLR 2017).
buppt/ChineseNER10,253
Language:
Python
Stars:
1,464
Forks:
388
Sanster/text_renderer10,259
Language:
Python
Stars:
1,462
Forks:
383
Description:
Generate text images for training deep learning ocr model.
openai/grade-school-math10,266
Language:
Python
Stars:
1,461
Forks:
203
DLTK/DLTK10,267
Language:
Python
Stars:
1,460
Forks:
403
Description:
Deep Learning Toolkit for Medical Image Analysis.
pytorch/gloo10,271
Language:
C++
Stars:
1,459
Forks:
372
Description:
Collective communications library with various primitives for multi-machine training.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture
Keywords3D
Stars1,463
Forks357
Contributors1
Created date2017-04-20
Updated date2026-10-11
Stars in 1 day0
Stars in 7 days1
Rank10,257
Previous rank10,266
Rank change9
7-day stars rank9,818
Previous 7-day stars rank9,884
7-day stars rank change66
Total stars rank8,249
Previous total stars rank8,240
Total stars rank change-9
CountryCanada
README summary

3d-pose-baseline This is the code for the paper Julieta Martinez, Rayat Hossain, Javier Romero, James J. _A simple yet effective baseline for 3d human pose estimation. The code in this repository was mostly written by Julieta Martinez, Rayat Hossain and Javier Romero. We provide a strong baseline for 3d human pose estimation that also sheds light on the challenges of current approaches. Our model is lightweight and we strive to make our code transparent, compact, and easy-to

-understand. Get the data Go to log in, and download the files for subjects , and put them under the folder . Your directory structure should look like this Now, move to the data folder, and uncompress all the data Finally, download the file, unzip it, and copy the file under Now, your data directory should look like this: There is one little fix we need to run for the data to have consistent names: And you are done! Please note that

we are currently not supporting SH detections anymore, only training from GT 2d detections is possible now. Quick demo For a quick demo, you can train for one epoch and visualize the results. To train, run This should take about This corresponds to Table 2, bottom row. Citing If you use our code, please cite our work Other implementations Pytorch by @weigq MXNet/Gluon by @lck1201 Extensions @ArashHosseini maintains a fork for estimating 3d human poses using the 2d poses

estimated by either OpenPose or tf-pose-estimation as input.

Frequently asked questions

How many stars and forks are recorded?

una-dinosauria/3d-pose-baseline has 1,463 stars and 357 forks.

What is the repository rank?

una-dinosauria/3d-pose-baseline is ranked 10,257.

What language and category are recorded?

una-dinosauria/3d-pose-baseline has 1,463 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

una-dinosauria/3d-pose-baseline is compared with Sanster/text_renderer, ranked 10,259 with 1,462 stars.

README

3d-pose-baseline

This is the code for the paper

Julieta Martinez, Rayat Hossain, Javier Romero, James J. Little. A simple yet effective baseline for 3d human pose estimation. In ICCV, 2017. https://arxiv.org/pdf/1705.03098.pdf.

The code in this repository was mostly written by Julieta Martinez, Rayat Hossain and Javier Romero.

We provide a strong baseline for 3d human pose estimation that also sheds light on the challenges of current approaches. Our model is lightweight and we strive to make our code transparent, compact, and easy-to-understand.

Dependencies

First of all

  1. Watch our video: https://youtu.be/Hmi3Pd9x1BE

  2. Clone this repository

git clone https://github.com/una-dinosauria/3d-pose-baseline.git
cd 3d-pose-baseline
mkdir -p data/h36m/
  1. Get the data

Go to http://vision.imar.ro/human3.6m/, log in, and download the D3 Positions files for subjects [1, 5, 6, 7, 8, 9, 11], and put them under the folder data/h36m. Your directory structure should look like this

src/
README.md
LICENCE
...
data/
  └── h36m/
    ├── Poses_D3_Positions_S1.tgz
    ├── Poses_D3_Positions_S11.tgz
    ├── Poses_D3_Positions_S5.tgz
    ├── Poses_D3_Positions_S6.tgz
    ├── Poses_D3_Positions_S7.tgz
    ├── Poses_D3_Positions_S8.tgz
    └── Poses_D3_Positions_S9.tgz

Now, move to the data folder, and uncompress all the data

cd data/h36m/
for file in *.tgz; do tar -xvzf $file; done

Finally, download the code-v1.2.zip file, unzip it, and copy the metadata.xml file under data/h36m/

Now, your data directory should look like this:

data/
  └── h36m/
    ├── metadata.xml
    ├── S1/
    ├── S11/
    ├── S5/
    ├── S6/
    ├── S7/
    ├── S8/
    └── S9/

There is one little fix we need to run for the data to have consistent names:

mv h36m/S1/MyPoseFeatures/D3_Positions/TakingPhoto.cdf \
   h36m/S1/MyPoseFeatures/D3_Positions/Photo.cdf

mv h36m/S1/MyPoseFeatures/D3_Positions/TakingPhoto\ 1.cdf \
   h36m/S1/MyPoseFeatures/D3_Positions/Photo\ 1.cdf

mv h36m/S1/MyPoseFeatures/D3_Positions/WalkingDog.cdf \
   h36m/S1/MyPoseFeatures/D3_Positions/WalkDog.cdf

mv h36m/S1/MyPoseFeatures/D3_Positions/WalkingDog\ 1.cdf \
   h36m/S1/MyPoseFeatures/D3_Positions/WalkDog\ 1.cdf

And you are done!

Please note that we are currently not supporting SH detections anymore, only training from GT 2d detections is possible now.

Quick demo

For a quick demo, you can train for one epoch and visualize the results. To train, run

python src/predict_3dpose.py --camera_frame --residual --batch_norm --dropout 0.5 --max_norm --evaluateActionWise --epochs 1

This should take about <5 minutes to complete on a GTX 1080, and give you around 56 mm of error on the test set.

Now, to visualize the results, simply run

python src/predict_3dpose.py --camera_frame --residual --batch_norm --dropout 0.5 --max_norm --evaluateActionWise --epochs 1 --sample --load 24371

This will produce a visualization similar to this:

Training

To train a model with clean 2d detections, run:

python src/predict_3dpose.py --camera_frame --residual --batch_norm --dropout 0.5 --max_norm --evaluateActionWise

This corresponds to Table 2, bottom row. Ours (GT detections) (MA)

Citing

If you use our code, please cite our work

@inproceedings{martinez_2017_3dbaseline,
  title={A simple yet effective baseline for 3d human pose estimation},
  author={Martinez, Julieta and Hossain, Rayat and Romero, Javier and Little, James J.},
  booktitle={ICCV},
  year={2017}
}

Other implementations

Extensions

License

MIT

Nearby in the ranking
Similar items