Neural Body: Implicit Neural Representations with Structured Latent Codes for Novel View Synthesis of Dynamic Humans
Project Page | Video | Paper | Data
Neural Body: Implicit Neural Representations with Structured Latent Codes for Novel View Synthesis of Dynamic Humans
Sida Peng, Yuanqing Zhang, Yinghao Xu, Qianqian Wang, Qing Shuai, Hujun Bao, Xiaowei Zhou
CVPR 2021
Any questions or discussions are welcomed!
Please see INSTALL.md.
We provide the pretrained models at here. The command lines for test are recorded in test.sh.
Take the testing on sequence 313
as an example.
- Download the corresponding pretrained model and put it to
$ROOT/data/trained_model/if_nerf/xyzc_313/latest.pth
. - Test:
python run.py --type evaluate --cfg_file configs/latent_xyzc_313.yaml exp_name xyzc_313
Take the testing on sequence 313
as an example. The command lines for visualization are recorded in visualize.sh.
- Download the corresponding pretrained model and put it to
$ROOT/data/trained_model/if_nerf/xyzc_313/latest.pth
. - Visualization:
# visualize novel views of single frame python run.py --type visualize --cfg_file configs/xyzc_demo_313.yaml exp_name xyzc_313 # visualize novel views of dynamic humans python run.py --type visualize --cfg_file configs/xyzc_perform_313.yaml exp_name xyzc_313
- The results of visualization are located at
$ROOT/data/render/xyzc_313
and$ROOT/data/perform/xyzc_313
.
Take the testing on sequence 313
as an example. The command lines for training are recorded in train.sh.
- Train:
# training python train_net.py --cfg_file configs/latent_xyzc_313.yaml exp_name xyzc_313 resume False # distributed training python -m torch.distributed.launch --nproc_per_node=4 train_net.py --cfg_file configs/latent_xyzc_313.yaml exp_name xyzc_313 resume False gpus "0, 1, 2, 3" distributed True
- Tensorboard:
tensorboard --logdir data/record/if_nerf
If you find this code useful for your research, please use the following BibTeX entry.
@inproceedings{peng2020neural,
title={Neural Body: Implicit Neural Representations with Structured Latent Codes for Novel View Synthesis of Dynamic Humans},
author={Peng, Sida and Zhang, Yuanqing and Xu, Yinghao and Wang, Qianqian and Shuai, Qing and Bao, Hujun and Zhou, Xiaowei},
booktitle={CVPR},
year={2021}
}