xlt99 commited on
Commit
68a5a31
Β·
verified Β·
1 Parent(s): 58fafe6

Maintain a dedicated Hugging Face model card

Browse files
Files changed (1) hide show
  1. README.md +21 -11
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="#code">
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. **Create a new conda environment**
 
 
 
 
 
 
 
53
 
54
  ```bash
55
  conda create -n Flower_env python=3.10
56
  conda activate Flower_env
57
  ```
58
 
59
- 2. **Install PyTorch (CUDA 12.8)**
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
- 3. **Install remaining dependencies**
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 in the project root. The archive contains the required `./data/` directory.
77
- - Download the **evaluation checkpoint** from [Hugging Face](https://huggingface.co/xlt99/FlowerDance/resolve/main/train-3700.pt?download=true) and place it at `./runs/train/uniform2/weights/train-3700.pt`.
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 --epochs 4000 --feature_type baseline
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 our model’s performance:
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