open-mmlab / mmhuman3d

OpenMMLab 3D Human Parametric Model Toolbox and Benchmark
https://mmhuman3d.readthedocs.io/
Apache License 2.0
1.25k stars 137 forks source link

Strange looking output using expose model #401

Closed gjmm07 closed 1 month ago

gjmm07 commented 1 month ago

Hi everyone,

thanks for this nice project. I am trying to use the expose model on the demo/webcam.py script.

When only launching webcam.py script without any flags, I am getting the output as expected with the SMPL model. After setting up the structure as explained here and running:

python demo/webcam_demo.py --mesh_reg_config configs/expose/expose.py --mesh_reg_checkpoint data/checkpoints/expose.pth

I'm getting a strange output (see attached image). Any ideas why this is happening? I am missing the files "hrnet_pretrain.pth" and "resnet18.pth" Where do I get them?

Thanks in advance.

mmhuman3d webcam demo_screenshot_11 10 2024

gjmm07 commented 1 month ago

In case anyone has the same issue: add --model_model_dir data/body_models/smplx to the line above.