GithubHelp home page GithubHelp logo

maddigit / 3d_avatar_pipeline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codesavory/3d_avatar_pipeline

0.0 1.0 0.0 53.25 MB

Realistic 3D Avatar Pipeline using PIFuHD - Pixel Aligned Implicit Functions and RigNet - Neural Rigging Network

License: GNU General Public License v3.0

Jupyter Notebook 48.26% Python 51.74%

3d_avatar_pipeline's Introduction

Realistic 3D Avatar Pipeline in Realtime

Realistic 3D Avatar Pipeline using PIFuHD - Pixel Aligned Implicit Functions and RigNet - Neural Rigging Network

Dependency and Setup

This project was tested in Windows 10 x64 System with Python 3.7 | Torch v1.8.0 TorchVision v0.9.0 on CPU with 16Gb of RAM using Anaconda Python Environment.

Constraints

open3D supports only Python v3.6, 3.7 and 3.8

conda create -n 3D_Avatar_Pipeline python=3.7
conda activate 3D_Avatar_Pipeline

Clone the GitHub Repository and the Submodules

git clone https://github.com/codesavory/3d_avatar_pipeline
git submodule init
git submodule update

Install Necessary Libraries

pip install torch==1.8.0 torchvision==0.9.0
pip install -r requirements.txt

If using CUDA 10.1 (TO TEST)

conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10.2 -c pytorch

Install some torch depencies

pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu101.html
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.8.0+cu101.html
pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-1.8.0+cu101.html
pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-1.8.0+cu101.html
pip install torch-geometric

For Windows user

Download Windows-compiled Rtree from here, and install it by pip install Rtree‑0.9.4‑cp37‑cp37m‑win_amd64.whl (64-bit system) or pip install Rtree‑0.9.4‑cp37‑cp37m‑win32.whl (32-bit system). Other libraries can be installed in the same way as Linux setup instructions.

Getting the checkpoints

Download the checkpoints into the base folder from GDrive Link extract and rename it as Checkpoints

Usage

The given script takes input photo(from ./input folder) and stores all the results(to ./Results/). Example usage -

python 3D_Avatar_Pipeline.py .\input\test.png

3d_avatar_pipeline's People

Contributors

codesavory avatar

Watchers

James Cloos avatar

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.