Improve model card: Add pipeline tag, paper, project page, code, usage, and abstract
#1
by
nielsr HF Staff - opened
README.md
CHANGED
|
@@ -2,9 +2,64 @@
|
|
| 2 |
tags:
|
| 3 |
- model_hub_mixin
|
| 4 |
- pytorch_model_hub_mixin
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
- model_hub_mixin
|
| 4 |
- pytorch_model_hub_mixin
|
| 5 |
+
pipeline_tag: text-to-3d
|
| 6 |
---
|
| 7 |
|
| 8 |
+
# FastMesh: Efficient Artistic Mesh Generation via Component Decoupling
|
| 9 |
+
|
| 10 |
+
This repository contains the official implementation and model weights for **FastMesh**, presented in the paper [FastMesh: Efficient Artistic Mesh Generation via Component Decoupling](https://huggingface.co/papers/2508.19188). Our approach efficiently produces 3D objects by substantially reducing the number of tokens required for generation.
|
| 11 |
+
|
| 12 |
+
- 🏠 [Project Page](https://jhkim0759.github.io/projects/FastMesh/)
|
| 13 |
+
- 💻 [GitHub Repository](https://github.com/jhkim0759/FastMesh)
|
| 14 |
+
|
| 15 |
+
<p align="center">
|
| 16 |
+
<img width="90%" alt="pipeline", src="https://github.com/jhkim0759/FastMesh/raw/main/assets/Teaser.png">
|
| 17 |
+
</p>
|
| 18 |
+
|
| 19 |
+
## Abstract
|
| 20 |
+
|
| 21 |
+
Recent mesh generation approaches typically tokenize triangle meshes into sequences of tokens and train autoregressive models to generate these tokens sequentially. Despite substantial progress, such token sequences inevitably reuse vertices multiple times to fully represent manifold meshes, as each vertex is shared by multiple faces. This redundancy leads to excessively long token sequences and inefficient generation processes. In this paper, we propose an efficient framework that generates artistic meshes by treating vertices and faces separately, significantly reducing redundancy. We employ an autoregressive model solely for vertex generation, decreasing the token count to approximately 23% of that required by the most compact existing tokenizer. Next, we leverage a bidirectional transformer to complete the mesh in a single step by capturing inter-vertex relationships and constructing the adjacency matrix that defines the mesh faces. To further improve the generation quality, we introduce a fidelity enhancer to refine vertex positioning into more natural arrangements and propose a post-processing framework to remove undesirable edge connections. Experimental results show that our method achieves more than 8$\times$ faster speed on mesh generation compared to state-of-the-art approaches, while producing higher mesh quality.
|
| 22 |
+
|
| 23 |
+
## Quick Start
|
| 24 |
+
|
| 25 |
+
### Installation
|
| 26 |
+
|
| 27 |
+
Our environment has been tested on CUDA 11.8 with A6000.
|
| 28 |
+
(It would be greatly appreciated if you report an issue when you find any errors.)
|
| 29 |
+
|
| 30 |
+
```bash
|
| 31 |
+
conda create -n fastmesh python=3.10
|
| 32 |
+
conda activate fastmesh
|
| 33 |
+
pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu118
|
| 34 |
+
pip install -r requirements.txt
|
| 35 |
+
pip install flash-attn --no-build-isolation
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
### Inference
|
| 39 |
+
|
| 40 |
+
Once the environment is set up and activated, you can run inference from sampled point clouds using the provided scripts:
|
| 41 |
+
|
| 42 |
+
**Generate meshes from sampled point cloud with V1K variant:**
|
| 43 |
+
```bash
|
| 44 |
+
python inference.py --mesh_path assets --variant V1K --batch_size 3
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
**Generate meshes from sampled point cloud with V4K variant:**
|
| 48 |
+
```bash
|
| 49 |
+
python inference.py --mesh_path assets --variant V4K --batch_size 1
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
## Citation
|
| 53 |
+
|
| 54 |
+
If you find our work helpful, please consider citing:
|
| 55 |
+
|
| 56 |
+
```bibtex
|
| 57 |
+
@misc{kim2025fastmesh,
|
| 58 |
+
title={FastMesh: Efficient Artistic Mesh Generation via Component Decoupling},
|
| 59 |
+
author={Jeonghwan Kim and Yushi Lan and Armando Fortes and Yongwei Chen and Xingang Pan},
|
| 60 |
+
year={2025},
|
| 61 |
+
eprint={2508.19188},
|
| 62 |
+
archivePrefix={arXiv},
|
| 63 |
+
url={https://arxiv.org/abs/2508.19188},
|
| 64 |
+
}
|
| 65 |
+
```
|