Skip to content

nibox/STAGE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

3DV 2026

arXiv Home Page

Nikita Kister1 , Istvan Sarandi1, Jiayi Wang3, Anna Khoreva4 Gerard Pons-Moll1, 2

1Real Virtual Human Group @ University of Tübingen & Tübingen AI Center
2Max Planck Institute for Informatics, Saarland Informatics Campus
3 Bosch Center of Artificial Intelligence
4 Zalando SE

Prepare environment

conda create -n stage python=3.9 -y
conda activate stage

bash install.sh

Project structure

Download SMPL weights (male, female, neutral) from SMPL and SMPLify websites. Extract and rename the weight files (e.g. hbasicmodel_neutral_lbs_10_207_0_v1.0.0.pkl to SMPL_NEUTRAL.pkl). Download test_poses.npz, sub_test_poses, smpl2openpose_2.npy, and ckpts from here: google drive This is how the directory should look like:

StableDiffusionDataGeneration
├── src
├── pretrained
    └── body_models
        └── smpl
            └── SMPL_NEUTRAL.pkl
            └── SMPL_MALE.pkl
            └── SMPL_FEMALE.pkl
        └── smplx_to_smpl.pkl
    └── ckpts
    └── smpl2openpose_2.npy  # google drive
└── data
    └── test_poses.npz
    └── sub_test_poses.npz

Generating Data and Evaluation

This is a sequence of commands to evaluate the MetrAbs pose estimator. Generated images are found in output/eval_gender. Note that sub_test_poses.npz is used, which is a subset of 10 poses from the full pose set. For accurate evaluation we recommend to run on the full set of 1500 poses. Our ControlNet is available at CN-3DPose.

python src/generate.py --gen-name=eval_gender --output-dir "output" --debug --base-gender "male" --base-ethnicity "caucasian" --base-age "adult" --base-clothing "t-shirt and long pants" --base-location "city center" --base-lighting "daytime" --base-weather "summer day" \
                                                                            --att-gender "female" --gt-pose-path "data/sub_test_poses.npz" --use-pose-filter --pose-filter-th 50 --num-good-images 1 --num-failed-rounds 5 --batch-size 2
python src/run_metrabs.py --project output/eval_gender
python src/compute_metrics.py --project output/eval_gender  --pred-file pose-pred-metrabs.npz  --gt-pose-path "data/sub_test_poses.npz"  --out-name analysis-results-metrabs.pkl

For SMPL-X estimators we provide a script (smplx_to_smpl.py) to convert SMPL-X to SMPL in a fast way.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors