Skip to content
iambrcPublic

About

[SIGGRAPH Asia 2026] PART: Learning 3D Part Assembly and Retrieval with Transformers

Resources

Stars

8 stars

Watchers

3 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

PART: Learning 3D Part Assembly and Retrieval with Transformers

Project Page arXiv Hugging Face Data Hugging Face Model

Ruchao Bao1, Wenzheng Wu1, Chucheng Xiang1, Zhongyuan Liu2, Yuan Liu3, Jinxin Dong2, Ligang Liu1, Ziqi Wang3*

1USTC   2Tencent   3HKUST

SIGGRAPH Asia 2026

test


🛠️ Installation

git clone https://github.com/iambrc/PART.git
cd PART

conda create -n part python=3.12
conda activate part

pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --index-url https://download.pytorch.org/whl/cu124
pip install -r requirements.txt
pip install "git+https://github.com/facebookresearch/pytorch3d.git"

Install Point Transformer V3 and Flash Attention following PointTransformerV3.

📂 Data

The dataset is on Hugging Face: Iambrc/PART.

pip install -U "huggingface_hub[cli]"
huggingface-cli download Iambrc/PART --repo-type dataset --local-dir data/download
mkdir -p data
tar -xzf data/download/custom.tar.gz -C data
cp data/download/*.npy data/custom/

Organize the downloaded files into the following layout:

data/custom/
├── contact_points/          # (P, P, 4) pairwise contact
├── model_pc_labeled/        # target cloud: points (10000, 3), instance (10000,)
├── shape_data/              # part clouds, poses, symmetry
├── train.npy                # 78,501 ids, full curated set
├── test.npy                 # 8,723 ids
├── Chair.train.npy
├── Chair.val.npy
├── Chair.test.npy
├── Table.train.npy
├── Table.val.npy
├── Table.test.npy
├── Lamp.train.npy
├── Lamp.val.npy
└── Lamp.test.npy

💾 Checkpoints

Pretrained weights are on Hugging Face: Iambrc/PART.

huggingface-cli download Iambrc/PART --local-dir checkpoints

🚀 Train

Training on PartNet chair category using a single GPU:

python src/main.py fit \
  -c configs/data/train_chair.yaml \
  -c configs/model/assembly_segmentation.yaml \
  --trainer.logger.name ChairTrain

Training on the PartNet chair category using DDP on 8 GPUs:

python src/main.py fit \
  -c configs/data/train_chair.yaml \
  -c configs/model/assembly_segmentation_ddp.yaml \
  --trainer.logger.name ChairTrainDDP

🧪 Test

Use the data config that matches the checkpoint, and pass --ckpt_path:

python src/main.py test \
  -c configs/data/train_chair.yaml \
  -c configs/model/assembly_segmentation.yaml \
  --trainer.logger.name ChairTest \
  --ckpt_path checkpoints/chair-epoch=279-PA=0.8156.ckpt

Full curated set:

python src/main.py test \
  -c configs/data/train_all.yaml \
  -c configs/model/assembly_general.yaml \
  --trainer.logger.name AllTest \
  --ckpt_path checkpoints/all-epoch=284-PA=0.8568.ckpt

🔍 Inference

We provide a simple inference script, scripts/run_inference.py, for quick verification.

# Assemble one shape from its own parts
python scripts/run_inference.py \
  --id 43597 \
  --checkpoint checkpoints/all-epoch=284-PA=0.8568.ckpt \
  --num_library_parts self \
  --post_process

# Retrieve parts from a library of 100, then assemble
python scripts/run_inference.py \
  --id 29921 56117 70913 \
  --checkpoint checkpoints/all-epoch=284-PA=0.8568.ckpt \
  --num_library_parts 100 \
  --post_process

# Random shapes from data/custom/test.npy
python scripts/run_inference.py \
  --random_sample 5 \
  --checkpoint checkpoints/all-epoch=284-PA=0.8568.ckpt \
  --num_library_parts 100 \
  --post_process

🙏 Acknowledgement

We thank the authors of PointTransformerV3, Manual-PA, and DGL for their code.

📝 Citation

@article{bao2026part,
  title={PART: Learning 3D Part Assembly and Retrieval with Transformers},
  author={Bao, Ruchao and Wu, Wenzheng and Xiang, Chucheng and Liu, Zhongyuan and Liu, Yuan and Dong, Jinxin and Liu, Ligang and Wang, Ziqi},
  journal={arXiv preprint arXiv:2609.19872},
  year={2026}
}

About

[SIGGRAPH Asia 2026] PART: Learning 3D Part Assembly and Retrieval with Transformers

Resources

Stars

8 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages