This repository contains a PyTorch implementation of "Squeezing Multiple Cues from a Single Image for Clothed 3D Human Reconstruction".
NOTE: The current model is trained in a low-resolution dataset called THuman1.0, which contains simple poses and clothes. Fortunately, our method achieves state-of-the-art performance on human images with complex poses and loose clothes.
The code is released, but not complete. We are still updating it.
NOTE 2022/11/25: Our paper has been submitted to IEEE Transaction on Multimedia. Good luck. This page shows more results generated by our method on in-the-wild images collected from the Internet.
NOTE 2022/12/17: The core code and pre-trained models have been uploaded. They can be downloaded from here. Install instructions and commands for training the network (directly or incrementally) will be updated and uploaded soon.
Code and pre-trained models are available for non-commercial research purposes as defined in the LICENSE file. By downloading and using the code and model you agree to the terms in the LICENSE.
@article{MCHuman,
title = {Squeezing Multiple Cues from a Single Image for Clothed 3D Human Reconstruction},
author = {Liu, Leyuan and Sun, Jianchi and Gao, Yunqi and Chen, Jingying.},
}
This code has been tested with PyTorch 1.4.0 and CUDA 10.1. on Ubuntu 18.04.
Please run the following commands to download the necessary assets (including the pre-trained models):
Coming Soon!
You can download our provided pre-trained models from Download link and put them into the ./checkpoints
directory.
(1) Testing on a single image without SMPL model
python Demo.py -- input_dir img_path
e.g., python Demo.py -- input_dir ./img.png
(2) Testing on a single image with the ground-truth SMPL model
python Demo.py -- input_dir img_path -- SMPL_dir gtSMPL_path
e.g., python Demo.py -- input_dir ./img.png -- SMPL_dir ./gtSMPL.pkl
Please run the following command to train the network: Coming Soon!
bash
Please run the following command to train the network: Coming Soon!
bash
Note that some code of this repo is based on GeoPIFu, PyMAF, pix2pixHD, and OpenPose. We thank the authors for their great work!
- If you have any trouble when using this repo, please do not hesitate to send an E-mail to Jianchi Sun (sunjc0306@qq.com).