Maintain a dedicated Hugging Face model card
Browse files
README.md
CHANGED
|
@@ -8,6 +8,8 @@ tags:
|
|
| 8 |
- bimamba
|
| 9 |
---
|
| 10 |
|
|
|
|
|
|
|
| 11 |
<h1 align="center">πΈ FlowerDance</h1>
|
| 12 |
<h3 align="center">MeanFlow for Efficient and Refined 3D Dance Generation</h3>
|
| 13 |
|
|
@@ -18,7 +20,7 @@ tags:
|
|
| 18 |
<a href="https://sun-happy-ykx.github.io/FlowerDance/">
|
| 19 |
<img src="https://img.shields.io/badge/Project_Page-FlowerDance-blue" alt="Project Page">
|
| 20 |
</a>
|
| 21 |
-
<a href="
|
| 22 |
<img src="https://img.shields.io/badge/Conference-ECCV%202026-orange" alt="Conference">
|
| 23 |
</a>
|
| 24 |
<a href="https://huggingface.co/xlt99/FlowerDance">
|
|
@@ -45,25 +47,34 @@ tags:
|
|
| 45 |
|
| 46 |
## π Code
|
| 47 |
|
|
|
|
|
|
|
| 48 |
### π οΈ Set up the Environment
|
| 49 |
|
| 50 |
To set up the necessary environment for running this project, follow the steps below:
|
| 51 |
|
| 52 |
-
1. **
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
```bash
|
| 55 |
conda create -n Flower_env python=3.10
|
| 56 |
conda activate Flower_env
|
| 57 |
```
|
| 58 |
|
| 59 |
-
|
| 60 |
|
| 61 |
```
|
| 62 |
pip install torch==2.7.1+cu128 torchvision==0.22.1+cu128 torchaudio==2.7.1+cu128 \
|
| 63 |
--index-url https://download.pytorch.org/whl/cu128
|
| 64 |
```
|
| 65 |
|
| 66 |
-
|
| 67 |
|
| 68 |
```bash
|
| 69 |
pip install -r requirements.txt
|
|
@@ -73,10 +84,8 @@ To set up the necessary environment for running this project, follow the steps b
|
|
| 73 |
|
| 74 |
## π¦ Download Resources
|
| 75 |
|
| 76 |
-
- Download the complete **preprocessed data archive** from [Hugging Face](https://huggingface.co/datasets/xlt99/FlowerDance-Preprocessed/resolve/main/data.7z?download=true) and extract it
|
| 77 |
-
-
|
| 78 |
-
|
| 79 |
-
The preprocessed data archive is only required for training and evaluation. The custom-music inference script can download the checkpoint automatically and does not require the dataset archive.
|
| 80 |
|
| 81 |
---
|
| 82 |
|
|
@@ -94,9 +103,10 @@ FlowerDance/
|
|
| 94 |
βββ requirements.txt
|
| 95 |
βββ args.py
|
| 96 |
βββ EDGE.py
|
|
|
|
|
|
|
| 97 |
βββ inference.py
|
| 98 |
βββ inpaint.py
|
| 99 |
-
βββ test.py
|
| 100 |
βββ vis.py
|
| 101 |
```
|
| 102 |
---
|
|
@@ -105,7 +115,7 @@ FlowerDance/
|
|
| 105 |
|
| 106 |
```bash
|
| 107 |
export WANDB_MODE=offline
|
| 108 |
-
accelerate launch train.py --batch_size 128
|
| 109 |
```
|
| 110 |
---
|
| 111 |
|
|
@@ -113,7 +123,7 @@ accelerate launch train.py --batch_size 128 --epochs 4000 --feature_type baseli
|
|
| 113 |
|
| 114 |
### π§ͺ Evaluate the Model
|
| 115 |
|
| 116 |
-
To evaluate the
|
| 117 |
|
| 118 |
```bash
|
| 119 |
python test.py --batch_size 128
|
|
|
|
| 8 |
- bimamba
|
| 9 |
---
|
| 10 |
|
| 11 |
+
<!-- Hugging Face model card source. Upload this file as README.md to xlt99/FlowerDance. -->
|
| 12 |
+
|
| 13 |
<h1 align="center">πΈ FlowerDance</h1>
|
| 14 |
<h3 align="center">MeanFlow for Efficient and Refined 3D Dance Generation</h3>
|
| 15 |
|
|
|
|
| 20 |
<a href="https://sun-happy-ykx.github.io/FlowerDance/">
|
| 21 |
<img src="https://img.shields.io/badge/Project_Page-FlowerDance-blue" alt="Project Page">
|
| 22 |
</a>
|
| 23 |
+
<a href="https://github.com/XulongT/FlowerDance">
|
| 24 |
<img src="https://img.shields.io/badge/Conference-ECCV%202026-orange" alt="Conference">
|
| 25 |
</a>
|
| 26 |
<a href="https://huggingface.co/xlt99/FlowerDance">
|
|
|
|
| 47 |
|
| 48 |
## π Code
|
| 49 |
|
| 50 |
+
The complete training, evaluation, and inference code is maintained in the [GitHub repository](https://github.com/XulongT/FlowerDance).
|
| 51 |
+
|
| 52 |
### π οΈ Set up the Environment
|
| 53 |
|
| 54 |
To set up the necessary environment for running this project, follow the steps below:
|
| 55 |
|
| 56 |
+
1. **Clone the repository**
|
| 57 |
+
|
| 58 |
+
```bash
|
| 59 |
+
git clone https://github.com/XulongT/FlowerDance.git
|
| 60 |
+
cd FlowerDance
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
2. **Create a new conda environment**
|
| 64 |
|
| 65 |
```bash
|
| 66 |
conda create -n Flower_env python=3.10
|
| 67 |
conda activate Flower_env
|
| 68 |
```
|
| 69 |
|
| 70 |
+
3. **Install PyTorch (CUDA 12.8)**
|
| 71 |
|
| 72 |
```
|
| 73 |
pip install torch==2.7.1+cu128 torchvision==0.22.1+cu128 torchaudio==2.7.1+cu128 \
|
| 74 |
--index-url https://download.pytorch.org/whl/cu128
|
| 75 |
```
|
| 76 |
|
| 77 |
+
4. **Install remaining dependencies**
|
| 78 |
|
| 79 |
```bash
|
| 80 |
pip install -r requirements.txt
|
|
|
|
| 84 |
|
| 85 |
## π¦ Download Resources
|
| 86 |
|
| 87 |
+
- Download the complete **preprocessed data archive** from [Hugging Face](https://huggingface.co/datasets/xlt99/FlowerDance-Preprocessed/resolve/main/data.7z?download=true) and extract it so that the preprocessed files are located under `./data/`.
|
| 88 |
+
- The **pretrained checkpoint** is hosted in this model repository. Custom-music inference downloads it automatically when `--checkpoint` is omitted.
|
|
|
|
|
|
|
| 89 |
|
| 90 |
---
|
| 91 |
|
|
|
|
| 103 |
βββ requirements.txt
|
| 104 |
βββ args.py
|
| 105 |
βββ EDGE.py
|
| 106 |
+
βββ train.py
|
| 107 |
+
βββ test.py
|
| 108 |
βββ inference.py
|
| 109 |
βββ inpaint.py
|
|
|
|
| 110 |
βββ vis.py
|
| 111 |
```
|
| 112 |
---
|
|
|
|
| 115 |
|
| 116 |
```bash
|
| 117 |
export WANDB_MODE=offline
|
| 118 |
+
accelerate launch train.py --batch_size 128 --epochs 4000 --feature_type baseline
|
| 119 |
```
|
| 120 |
---
|
| 121 |
|
|
|
|
| 123 |
|
| 124 |
### π§ͺ Evaluate the Model
|
| 125 |
|
| 126 |
+
To evaluate the model:
|
| 127 |
|
| 128 |
```bash
|
| 129 |
python test.py --batch_size 128
|