Code Monkey home page Code Monkey logo

avatarbooth's Introduction

AvatarBooth: High-Quality and Customizable 3D Human Avatar Generation

1Nanjing University
+corresponding author

Install

For package installation, ensure that you have installed pytorch (tested on pytorch 2.1 cuda121 and pytorch 1.13 cuda 117):

pip install -r requirements.txt

For data preparation, register and download SMPL models here. Put the downloaded models in the folder smpl_models. The folder structure should look like

./
├── ...
└── smpl_models/
    ├── smpl/
        ├── SMPL_FEMALE.pkl
        ├── SMPL_MALE.pkl
        └── SMPL_NEUTRAL.pkl

Usage

To generate avatars. you can use:

python main.py --mode train --conf confs/examples/obama.conf

To use personalized model like LoRA or DreamBooth model, you can assign the corresponding file path in config file like:

general {
    sd_path = ... # assign DreamBooth path for whole body in huggingface format, e.g. stabilityai/stable-diffusion-2-1-base or stablediffusionapi/realistic-vision(recommanded and by default)
    sd_face_path = ... # assign DreamBooth path for face in huggingface format

    lora_path = ... # assign lora path with safetensors, e.g. ./pretrained_models/A.safetensors
}

To animate the avatar, you can refer to the AvatarCLIP. With the same procedure, you can obtain a animatable fbx after processing the A-pose ply model.

Teaser

Animation

Citation

If you find our work useful for your research, please consider citing the paper:

@inproceedings{Zeng2023AvatarBoothHA,
  title={AvatarBooth: High-Quality and Customizable 3D Human Avatar Generation},
  author={Yifei Zeng and Yuanxun Lu and Xinya Ji and Yao Yao and Hao Zhu and Xun Cao},
  year={2023}
}

Acknowledgement

The code is built upon AvatarCLIP and Stable DreamFusion, we express great appreciation to the authors for their great work.

avatarbooth's People

Contributors

zeng-yifei avatar

Stargazers

XieChen avatar  avatar  avatar DoBetter avatar  avatar Hyeonho, Jeong avatar  avatar  avatar  avatar Xuanmeng Zhang avatar Yiqian Wu avatar Saba Hesaraki avatar Imran Akbar avatar Maxim Ignatev avatar 苹果的味道 avatar Maocai avatar  avatar  avatar YiChenCityU avatar Jian Wang avatar  avatar RokiesHy@cv avatar  avatar Sauradip Nag avatar Xiyi Chen avatar Mingwei Li avatar LordLiang avatar fireboy avatar  avatar Andrey Smorodov avatar  avatar Zihao Zhang avatar Lu Ming avatar Raphaël avatar Yuliang Xiu avatar Sandalots avatar Guan Shanyan avatar 爱可可-爱生活 avatar Snow avatar  avatar Hyo avatar Mn avatar ZhiyuanthePony avatar sdf0615 avatar

Watchers

fireboy avatar Snow avatar Pyjcsx avatar Xiyi Chen avatar  avatar Xiaoxia (Shirley) Wu avatar

avatarbooth's Issues

[misc] dataset && dreambooth details

Hello, I am interested in excellent work.
I have three problems with your paper:

  1. Can you share your personalization datasets? I want to verify the result.

  2. Could you share more details about the dreambooth? E.g., What are the lr and iter values ​​for dreambooth face and full-body?

  3. Which open-source version of dreambooth3d are you using?

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.