百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

ReFit

> 编程语言
开源

ICCV23 论文存储库: "ReFit: 递归拟合网络用于 3D 人体恢复"

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

ICCV23 论文存储库: "ReFit: 递归拟合网络用于 3D 人体恢复"

ReFit

Code repository for the paper:
ReFit: Recurrent Fitting Network for 3D Human Recovery
Yufu Wang, Kostas Daniilidis
ICCV 2023
[Project Page]

Updates

2024-01-05: Added an example for multiview refit.

2023-12-20: Added support for GART with a preprocessing script.

Installation instructions

bash
python3 -m venv refit
source refit/bin/activate
pip install -U pip
pip install -r requirements.txt

Prepare data

There are some few key data you need for the demo, training and evaluation.

  1. SMPL: Please download SMPL_NEUTRAL/FEMALE/MALE.pkl and put them under data/smpl
  2. ReFit weights: download each checkpoint folders and put them under data/pretrain
  3. Yolov7: for detection, download this Yolov7 checkpoint and put it under data/pretrain. Be sure to also clone the yolov7 submodule with git clone --recurse-submodules this-repo.

Additionally for training and evaluation, please follow the dataset preparation guide here.

Demo

We provide a few examples in data/examples. Running the following demo will detect each person in each image and then run ReFit for 3D reconstruction. The resulting rendering will be saved.

bash
python demo.py

For multiview refit, run the following demo

bash
python scripts/multiview_demo.py

To run on a folder of images (eg. frames from a video), and save the SMPL and camera pose for GART, run the following.

bash
python scripts/process_folder.py

Training and evaluation

Training: config.yaml, config_bedlam.yaml and config_all.yaml control the dataset composition.

bash
python train.py --cfg configs/config.yaml 

Evaluation:

bash
python scripts/eval.py

Acknowledgements

We benefit greatly the following repos, from which we adapted parts of our code.

  • SPIN
  • PARE
  • PyMAF
  • CLIFF
  • BEDLAM

Citing

If you find the model and code useful, please consider citing the following paper:

@Inproceedings{wang23refit,
  Title          = {ReFit: Recurrent Fitting Network for 3D Human Recovery},
  Author         = {Yufu Wang and Kostas Daniilidis},
  Booktitle      = {International Conference on Computer Vision},
  Year           = {2023}
}

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言