https://github.com/thu-lyj-lab/t3bench
T3Bench: Benchmarking Current Progress in Text-to-3D Generation
https://github.com/thu-lyj-lab/t3bench
3d diffusion nerf text-to-3d
Last synced: 16 days ago
JSON representation
T3Bench: Benchmarking Current Progress in Text-to-3D Generation
- Host: GitHub
- URL: https://github.com/thu-lyj-lab/t3bench
- Owner: THU-LYJ-Lab
- Created: 2023-10-04T13:40:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-24T07:05:13.000Z (over 1 year ago)
- Last Synced: 2025-04-03T18:14:22.572Z (25 days ago)
- Topics: 3d, diffusion, nerf, text-to-3d
- Language: Python
- Homepage: https://t3bench.com/
- Size: 11.6 MB
- Stars: 1,098
- Watchers: 1
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
📃 Paper • 🌐 Project Page# T3Bench: Benchmarking Current Progress in Text-to-3D Generation

**T3Bench** is the first comprehensive text-to-3D benchmark containing diverse text prompts of three increasing complexity levels that are specially designed for 3D generation (300 prompts in total). To assess both the subjective quality and the text alignment, we propose two automatic metrics based on multi-view images produced by the 3D contents. The *quality* metric combines multi-view text-image scores and regional convolution to detect quality and view inconsistency. The *alignment* metric uses multi-view captioning and Large Language Model (LLM) evaluation to measure text-3D consistency. Both metrics closely correlate with different dimensions of human judgments, providing a paradigm for efficiently evaluating text-to-3D models.
## 🔥 Updates
**[2023/10/24]** We have released mesh results of all prompt sets and methods! Please check here to download.## Evaluate on T3Bench
### Environment Setup
We adopt the implementation of ThreeStudio to test the current text-to-3D methods. Please first follow the instructions of ThreeStudio to setup the generation environment.
Then install the following packages used for evaluation:
```shell
pip install -r requirements.txt
```Note that we use a slightly modified version of ThreeStudio to ensure efficient generation.
### Evaluation
##### Run Text-to-3D and Extract Mesh
```shell
# YOUR_GROUP: Choose the prompt set to test, including [single, surr, multi]
# YOUR_METHOD: We now support latentnerf, magic3d, fantasia3d, dreamfusion, sjc, and prolificdreamer.
python run_t3.py --group YOUR_GROUP --gpu YOUR_GPU --method YOUR_METHOD
python run_mesh.py --group YOUR_GROUP --gpu YOUR_GPU --method YOUR_METHOD
```##### Quality Evaluation
```shell
python run_eval_quality.py --group YOUR_GROUP --gpu YOUR_GPU --method YOUR_METHOD
```##### Alignment Evaluation
```shell
# First get the 3D prompt of the text-to-3D result
python run_caption.py --group YOUR_GROUP --gpu YOUR_GPU --method YOUR_METHOD
# then run the LLM Evaluation
python run_eval_alignment.py --group YOUR_GROUP --gpu YOUR_GPU --method YOUR_METHOD
```### Citation
```
@misc{he2023t3bench,
title={T$^3$Bench: Benchmarking Current Progress in Text-to-3D Generation},
author={Yuze He and Yushi Bai and Matthieu Lin and Wang Zhao and Yubin Hu and Jenny Sheng and Ran Yi and Juanzi Li and Yong-Jin Liu},
year={2023},
eprint={2310.02977},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
```### Acknowledgement
This project could not be possible without the open-source works from ThreeStudio, Cap3D, Stable-DreamFusion, ImageReward, LAVIS. We sincerely thank them all.