MeshGen: Generating PBR Textured Mesh with Render-Enhanced Auto-Encoder and Generative Data Augmentation
Zilong Chen, Yikai Wang, Wenqiang Sun, Feng Wang, Yiwen Chen, Huaping Liu
Tsinghua University, BNU, HKUST, NTU
This repository contains the official implementation for MeshGen: Generating PBR Textured Mesh with Render-Enhanced Auto-Encoder and Generative Data Augmentation.
Arxiv | Project page | HF Demo
First use pip<24.1 since we are using an old version of lightning:
pip install 'pip<24.1'If you are with CUDA 11:
Install torch:
pip install torch==2.1.2+cu118 torchvision==0.16.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118then install other dependencies:
pip install -r requirements.txtOr you are with CUDA 12:
Install torch:
pip install torch==2.1.2+cu121 torchvision==0.16.2+cu121 extra-index-url https://download.pytorch.org/whl/cu121then install other dependencies:
pip install -r requirements_cuda12.txttorchrun --nproc_per_node=<num-gpus> shapegen.py --images <image-dir> --output <output-dir>torchrun --nproc_per_node=<num-gpus> texgen.py --meta <meta-file> --output <output-dir>torchrun --nproc_per_node=<num-gpus> jointgen.py --images <output-dir> --output <output-dir>python app.py@inproceedings{chen2025meshgen,
author = {Chen, Zilong and Wang, Yikai and Sun, Wenqiang and Wang, Feng and Chen, Yiwen and Liu, Huaping},
title = {MeshGen: Generating PBR Textured Mesh with Render-Enhanced Auto-Encoder and Generative Data Augmentation},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2025}
}