NormalCrafter / README.md
Yanrui95's picture
Upload folder using huggingface_hub
e34f325 verified

A newer version of the Gradio SDK is available: 5.25.2

Upgrade
metadata
title: NormalCrafter
app_file: app.py
sdk: gradio
sdk_version: 5.23.3

NormalCrafter: Learning Temporally Consistent Video Normal from Video Diffusion Priors

Yanrui Bin1,Wenbo Hu2*, Haoyuan Wang3, Xinya Chen4, Bing Wang2 †

1Spatial Intelligence Group, The Hong Kong Polytechnic University 2ARC Lab, Tencent PCG 3City University of Hong Kong 4Huazhong University of Science and Technology

πŸ”† Notice

We recommend that everyone use English to communicate on issues, as this helps developers from around the world discuss, share experiences, and answer questions together.

For business licensing and other related inquiries, don't hesitate to contact [email protected].

πŸ”† Introduction

πŸ€— If you find NormalCrafter useful, please help ⭐ this repo, which is important to Open-Source projects. Thanks!

πŸ”₯ NormalCrafter can generate temporally consistent normal sequences with fine-grained details from open-world videos with arbitrary lengths.

  • [24-04-01] πŸ”₯πŸ”₯πŸ”₯ NormalCrafter is released now, have fun!

πŸš€ Quick Start

πŸ€– Gradio Demo

πŸ› οΈ Installation

  1. Clone this repo:
git clone [email protected]:Binyr/NormalCrafter.git
  1. Install dependencies (please refer to requirements.txt):
pip install -r requirements.txt

πŸ€— Model Zoo

NormalCrafter is available in the Hugging Face Model Hub.

πŸƒβ€β™‚οΈ Inference

1. High-resolution inference, requires a GPU with ~20GB memory for 1024x576 resolution:

python run.py  --video-path examples/example_01.mp4

2. Low-resolution inference requires a GPU with ~6GB memory for 512x256 resolution:

python run.py  --video-path examples/example_01.mp4 --max-res 512