Giter Club home page Giter Club logo

hifihr's Introduction


HiFiHR: High-Fidelity Hand Reconstruction

Enhancing 3D Hand Reconstruction from a Single Image via High-Fidelity Texture

Development Time: WakaTime + WakaTime

GitHub top language GitHub code size in bytes GitHub commit activity


📒 Table of Contents

📍 Overview

demonstration

FreiHAND HO-3Dv2
freihand ho3d

🎯 Features

  • Objective: Generate realistic 3D hand meshes with accurate textures from a single image.

  • Supervision Levels: Utilize self-supervision, weak supervision, and full supervision.

  • Contributions of High-Fidelity Textures: Enhance hand pose and shape estimation with learned high-fidelity textures.

  • Benchmark Performance: Experimental evaluations on public benchmarks (FreiHAND and HO-3D). Outperform state-of-the-art methods in texture quality, while maintaining accurate pose and shape estimation.

🚀 Getting Started

📦 Environment

This code is developed under Python 3.9, Pytorch 1.13, and cuda 11.7.

  • (Optional) You may need to wake up your conda:
conda update -n base -c default conda
conda config --append channels conda-forge
conda update --all
  • Create the environment and install the requirements:
conda env remove -n hifihr
conda create -n hifihr python=3.9
conda activate hifihr
conda install pytorch=1.13.0 torchvision pytorch-cuda=11.7 -c pytorch -c nvidia

conda install -c fvcore -c iopath -c conda-forge fvcore iopath
# conda install pytorch3d -c pytorch3d
pip install "git+https://github.com/facebookresearch/pytorch3d.git"

conda install tqdm tensorboard transforms3d scikit-image timm trimesh rtree opencv matplotlib rich lpips
pip install chumpy

📂 Datasets

For 3D hand reconstruction task on the FreiHAND dataset:

  • Download the FreiHAND dataset from the website.

For HO3D dataset:

  • Download the HO-3Dv2 dataset from the website.

🛠 Training and Evaluation

Pre-trained models can be downloaded from the Google Drive link.

🧪 FreiHAND

  • Evaluation:
python train_hrnet.py --config_json config/FreiHAND/evaluation.json
  • Training:
python train_hrnet.py --config_json config/FreiHAND/full_rhd_freihand.json

Note: remember to check and inplace the dirs and files in the *.json files.

🧪 HO3D

  • Evaluation:
python3 train_hrnet.py --config_json config/HO3D/evaluation.json
  • Training: Please refer to FreiHAND training scripts.

👏 Acknowledgements

We would like to thank to the great project in S2HAND.

📄 Citation

If you find this code useful for your research, please consider citing:

@inproceedings{zhu2023hifihr,
    title={HiFiHR: Enhancing 3D Hand Reconstruction from a Single Image via High-Fidelity Texture},
    author={Zhu, Jiayin and Zhao, Zhuoran and Yang, Linlin and Yao, Angela},
    booktitle={German Conference on Pattern Recognition},
    year={2023},
    organization={Springer}
}

hifihr's People

Contributors

viridityzhu avatar delaprada avatar

Stargazers

Lu Ming avatar Mihai Bujanca avatar  avatar samwang avatar Jihoon Oh avatar XINXIN GE avatar JINGJUN TAO avatar  avatar Snow avatar AhiP avatar Chao Wen avatar Raphaël avatar Zhang Feiyu avatar Shirley avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

Snow avatar  avatar

Forkers

delaprada

hifihr's Issues

渲染时缺少faces_uvs.pt文件

您好,感谢您的杰出工作。我在运行您的evaluation时,想要在自己的数据上渲染更加真实的纹理,因此将evaluation.json文件里的"render": false改为了"render": true,但是文件报错:AttributeError: 'MyNIMBLELayer' object has no attribute 'verts_uv'。根据排查,发现是在MyNIMBLELayer的init部分的第41行,没有加载uvs文件,我没有找到'utils/NIMBLE_model/assets/faces_uvs.pt',好像下载连接中也没有该文件,请问如何解决呢,谢谢
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.