This repo contains the PyTorch implementation of "Learning Visibility for Robust Dense Human Body Estimation" (ECCV'2022). Extended from a heatmap-based representation in I2L-MeshNet, we explicitly model the dense visibility of human joints and vertices to improve the robustness on partial-body images.
We show some qualitative comparisons against prior arts which can handle occlusions: PARE and METRO. We observe that PARE and METRO are robust to occlusions in general but VisDB aligns with the images better thanks to the accurate dense heatmap and visibility estimations.
We implement VisDB with Python 3.7.10 and PyTorch 1.8.1. Our code is mainly built upon this repo: I2L-MeshNet.
sh requirements.sh. torchgeometry kernel code slightly following here.basicModel_f_lbs_10_207_0_v1.0.0.pkl and basicModel_m_lbs_10_207_0_v1.0.0.pkl from here and basicModel_neutral_lbs_10_207_0_v1.0.0.pkl from here. Place them under common/utils/smplpytorch/smplpytorch/native/models/.UV_Processed.mat and UV_symmetry_transforms.mat from here and place them under common/.gmm_08.pkl from here and place it under common/.input.jpg and pre-trained snapshot in the demo/ folder.demo folder and edit bbox in demo.py.python demo.py --gpu 0 --stage param --test_epoch 8 if you want to run on gpu 0.demo/.1、Install oemesa follow https://pyrender.readthedocs.io/en/latest/install/
2、Reinstall the specific pyopengl fork: https://github.com/mmatl/pyopengl
3、Set opengl's backend to egl or osmesa via os.environ["PYOPENGL_PLATFORM"] = "egl"
ROOT/data/PW3D/dp/).First, you need to train VisDB in lixel stage. In the main/ folder, run
python train.py --gpu 0-3 --stage lixel
to train the lixel model on GPUs 0-3.
Once you pre-trained VisDB in lixel stage, you can resume training in param stage. In the main/ folder, run
python train.py --gpu 0-3 --stage param --continue
to train the param model on GPUs 0-3.
Place trained model at the output/model_dump/. Choose the stage you want to test among (lixel or param).
In the main/ folder, run
python test.py --gpu 0-3 --stage $STAGE --test_epoch 8
Chun-Han Yao: cyao6@ucmerced.edu
If you find our project useful in your research, please consider citing:
@inproceedings{yao2022learning,
title={Learning visibility for robust dense human body estimation},
author={Yao, Chun-Han and Yang, Jimei and Ceylan, Duygu and Zhou, Yi and Zhou, Yang, and Yang, Ming-Hsuan},
booktitle={European conference on computer vision (ECCV)},
year={2022}
}
$ claude mcp add visdb \
-- python -m otcore.mcp_server <graph>