Spaces:
Running
on
Zero
Running
on
Zero
File size: 2,253 Bytes
3f350cf fc13e66 e34f325 3f350cf fc13e66 e34f325 fc13e66 e34f325 fc13e66 3f350cf fc13e66 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
---
title: NormalCrafter
app_file: app.py
sdk: gradio
sdk_version: 5.23.3
---
## ___***NormalCrafter: Learning Temporally Consistent Video Normal from Video Diffusion Priors***___
_**[Yanrui Bin<sup>1</sup>](https://scholar.google.com/citations?user=_9fN3mEAAAAJ&hl=zh-CN),[Wenbo Hu<sup>2*](https://wbhu.github.io),
[Haoyuan Wang<sup>3](https://www.whyy.site/),
[Xinya Chen<sup>4](https://xinyachen21.github.io/),
[Bing Wang<sup>2 †</sup>](https://bingcs.github.io/)**_
<br><br>
<sup>1</sup>Spatial Intelligence Group, The Hong Kong Polytechnic University
<sup>2</sup>ARC Lab, Tencent PCG
<sup>3</sup>City University of Hong Kong
<sup>4</sup>Huazhong University of Science and Technology
</div>
## π 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
- Online demo: [NormalCrafter](https://huggingface.co/spaces/Yanrui95/NormalCrafter)
- Local demo:
```bash
gradio app.py
```
### π οΈ Installation
1. Clone this repo:
```bash
git clone [email protected]:Binyr/NormalCrafter.git
```
2. Install dependencies (please refer to [requirements.txt](requirements.txt)):
```bash
pip install -r requirements.txt
```
### π€ Model Zoo
[NormalCrafter](https://huggingface.co/Yanrui95/NormalCrafter) is available in the Hugging Face Model Hub.
### πββοΈ Inference
#### 1. High-resolution inference, requires a GPU with ~20GB memory for 1024x576 resolution:
```bash
python run.py --video-path examples/example_01.mp4
```
#### 2. Low-resolution inference requires a GPU with ~6GB memory for 512x256 resolution:
```bash
python run.py --video-path examples/example_01.mp4 --max-res 512
```
|