PrimitiveAnything / README.md
hyz317's picture
Update README.md
5960609 verified
---
task_categories:
- image-to-3d
license: gpl-3.0
---
# PrimitiveAnything
<p align="center">
πŸ“ƒ <a href="https://arxiv.org/abs/2505.04622" target="_blank">Paper</a> β€’ πŸ’» <a href="https://github.com/PrimitiveAnything/PrimitiveAnything" target="_blank">[Github Repo]</a> β€’ 🌐 <a href="https://primitiveanything.github.io/" target="_blank">Project Page</a>
</p>
This repository contains the test dataset presented in the paper [PrimitiveAnything: Human-Crafted 3D Primitive Assembly Generation with Auto-Regressive Transformer](https://arxiv.org/abs/2505.04622).
**PrimitiveAnything** is a novel framework to decompose complex shapes into 3D primitive assemblies via the auto-regressive transformer.
## Structure
- `basic_shapes_norm`
- `basic_shapes_norm_pc10000`
- `demo_glb`: Demo GLB models
- `test_pc`: Test point clouds
## Usage
You can download the files directly from this repository or use the Hugging Face datasets library:
```python
from huggingface_hub import hf_hub_download, list_repo_files
# Get list of all files in repo
files = list_repo_files(repo_id="hyz317/PrimitiveAnything", repo_type="dataset")
# Download each file
for file in files:
file_path = hf_hub_download(
repo_id="hyz317/PrimitiveAnything",
filename=file,
repo_type="dataset",
local_dir='./data'
)
```