🎮

charactergen

FNI 8.9
by VAST-AI gradio

"--- license: apache-2.0 title: CharacterGen sdk: gradio sdk_version: 5.14.0 emoji: 🏃 colorFrom: gray colorTo: red pinned: false short_description: Gradio demo of CharacterGen (SIGGRAPH 2024) --- This is the official codebase of SIGGRAPH'24 (TOG) CharacterGen. !teaser - [x] Rendering Script of VRM m..."

Best Scenarios

Interactive UI Demo

Technical Constraints

Generic Use
gradio SDK
CPU Config
Running Status
223 Likes

🕸️ Neural Graph Explorer

v15.13

Graph Overview

263 Entities
273 Connections
Explore Full Graph →

📈 Interest Trend

--

* Real-time activity index across HuggingFace, GitHub and Research citations.

🔬Deep Dive

Expand Details [+]

🛠️ Technical Profile

Hardware & Scale

SDK
gradio
Hardware
V100
Status
Running

🌐 Cloud & Rights

Source
huggingface
License
Apache-2.0

🎮 Demo Preview

Interact with caution. Content generated by third-party code.

💻 Usage

pip install gradio
git clone https://huggingface.co/spaces/VAST-AI/charactergen

Space Overview

CharacterGen: Efficient 3D Character Generation from Single Images with Multi-View Pose Calibration

This is the official codebase of SIGGRAPH'24 (TOG) CharacterGen.

!teaser

  • [x] Rendering Script of VRM model, including blender and three-js.
  • [x] Inference code for 2D generation stage.
  • [x] Inference code for 3D generation stage.

Quick Start

1. Prepare environment

pip install -r requirements.txt

2. Download the weight

Install huggingface-cli first.

bash
huggingface-cli download --resume-download zjpshadow/CharacterGen --include 2D_Stage/* --local-dir .
huggingface-cli download --resume-download zjpshadow/CharacterGen --include 3D_Stage/* --local-dir .

If you find mistakes on download, you can download all the reporitory and move to the right folder.

3. Run the script

#### Run the whole pipeline

bash
python webui.py

#### Only Run 2D Stage

bash
cd 2D_Stage
python webui.py

#### Only Run 3D Stage

bash
cd 3D_Stage
python webui.py

Get the Anime3D Dataset

Due to the policy, we cannot redistribute the raw data of VRM format 3D character. You can download the vroid dataset follow PAniC-3D instruction. And the you can render the script with blender or three-js with our released rendering script.

Blender

First, you should install Blender and the VRM addon for Blender.

The you can render the VRM and export the obj of VRM under some fbx animation.

bash
blender -b --python render_script/blender/render.py importVrmPath importFbxPath outputFolder [is_apose]

The last input argument represents whether you use apose; if used, output apose; otherwise, output the action of any frame in the fbx.

three-vrm

Much quicker than blender VRM add-on.

Insta

4,380 characters total