Add task category, tags, and AnimeHair dataset details
#1
by
nielsr
HF Staff
- opened
README.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
| 1 |
---
|
| 2 |
license: gpl-3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
| 4 |
# CHARM
|
| 5 |
|
| 6 |
<p align="center">
|
|
@@ -28,4 +35,52 @@ for file in files:
|
|
| 28 |
repo_type="dataset",
|
| 29 |
local_dir='./test_cases'
|
| 30 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
```
|
|
|
|
| 1 |
---
|
| 2 |
license: gpl-3.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-to-3d
|
| 5 |
+
tags:
|
| 6 |
+
- 3d-modeling
|
| 7 |
+
- anime
|
| 8 |
+
- hairstyle
|
| 9 |
---
|
| 10 |
+
|
| 11 |
# CHARM
|
| 12 |
|
| 13 |
<p align="center">
|
|
|
|
| 35 |
repo_type="dataset",
|
| 36 |
local_dir='./test_cases'
|
| 37 |
)
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## AnimeHair Dataset
|
| 41 |
+
|
| 42 |
+
Due to policy restrictions, we are unable to redistribute the raw 3D models of the training dataset. However, you can download the VRoid dataset by following the instructions provided in [PAniC-3D](https://github.com/ShuhongChen/panic3d-anime-reconstruction). **Please note:** When downloading the VRoid dataset, replace the `metadata.json` file mentioned in the PAniC-3D instructions with the file from [this link](https://drive.google.com/file/d/17xM1NJAN70yEfTZ2T-uBaNXrSz8v15On/view?usp=sharing). All other steps should follow the original PAniC-3D guide.
|
| 43 |
+
|
| 44 |
+
In place of the raw data, we are providing the preprocessing scripts and training data list.
|
| 45 |
+
|
| 46 |
+
First, install [Blender](https://www.blender.org/) and download the [VRM Blender Add-on](https://vrm-addon-for-blender.info/en/). Then, install the add-on using the following command:
|
| 47 |
+
|
| 48 |
+
```bash
|
| 49 |
+
blender --background --python blender/install_addon.py -- VRM_Addon_for_Blender-release.zip
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Next, execute the Blender script to separate the hair meshes from the 3D models:
|
| 53 |
+
|
| 54 |
+
```bash
|
| 55 |
+
cd blender
|
| 56 |
+
python distributed_uniform.py --input_dir /PATH/TO/YOUR/VROIDDATA --save_dir /PATH/TO/YOUR/SAVEDIR --workers 32
|
| 57 |
+
```
|
| 58 |
+
* `/PATH/TO/YOUR/VROIDDATA`: Specify the directory where you downloaded the VRoid dataset.
|
| 59 |
+
* `/PATH/TO/YOUR/SAVEDIR`: Specify the directory where the separated hair models will be saved.
|
| 60 |
+
|
| 61 |
+
After separating the hair, run the following script to post-process the hairstyles and convert them into a template format:
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
python process_hair.py --input_dir /PATH/TO/YOUR/SAVEDIR
|
| 65 |
+
```
|
| 66 |
+
* `/PATH/TO/YOUR/SAVEDIR`: This should be the same directory where the separated hair models were saved in the previous step.
|
| 67 |
+
|
| 68 |
+
Finally, sample point clouds from the processed hair models:
|
| 69 |
+
|
| 70 |
+
```bash
|
| 71 |
+
python sample_hair.py --input_dir /PATH/TO/YOUR/SAVEDIR
|
| 72 |
+
```
|
| 73 |
+
* `/PATH/TO/YOUR/SAVEDIR`: Again, use the directory containing the post-processed hair models.
|
| 74 |
+
|
| 75 |
+
## Citation
|
| 76 |
+
|
| 77 |
+
If you find our work useful, please kindly cite:
|
| 78 |
+
|
| 79 |
+
```bibtex
|
| 80 |
+
@article{he2025charm,
|
| 81 |
+
title={CHARM: Control-point-based 3D Anime Hairstyle Auto-Regressive Modeling},
|
| 82 |
+
author={He, Yuze and Zhou, Yanning and Zhao, Wang and Ye, Jingwen and Bai, Yushi and Xiao, Kaiwen and Liu, Yong-Jin and Sun, Zhongqian and Yang, Wei},
|
| 83 |
+
journal={arXiv preprint arXiv:2509.21114},
|
| 84 |
+
year={2025}
|
| 85 |
+
}
|
| 86 |
```
|