Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

TripoSR

> 编程语言
Open source

TripoSR: Fast 3D Object Reconstruction from a Single Image

6.8K stars0 likes1 views
WebsiteGitHub

About

TripoSR: Fast 3D Object Reconstruction from a Single Image

TripoSR

This is the official codebase for TripoSR, a state-of-the-art open-source model for fast feedforward 3D reconstruction from a single image, collaboratively developed by Tripo AI and Stability AI.

Leveraging the principles of the Large Reconstruction Model (LRM), TripoSR brings to the table key advancements that significantly boost both the speed and quality of 3D reconstruction. Our model is distinguished by its ability to rapidly process inputs, generating high-quality 3D models in less than 0.5 seconds on an NVIDIA A100 GPU. TripoSR has exhibited superior performance in both qualitative and quantitative evaluations, outperforming other open-source alternatives across multiple public datasets. The figures below illustrate visual comparisons and metrics showcasing TripoSR's performance relative to other leading models. Details about the model architecture, training process, and comparisons can be found in this technical report.

The model is released under the MIT license, which includes the source code, pretrained models, and an interactive online demo. Our goal is to empower researchers, developers, and creatives to push the boundaries of what's possible in 3D generative AI and 3D content creation.

Getting Started

Installation

  • Python >= 3.8
  • Install CUDA if available
  • Install PyTorch according to your platform: https://pytorch.org/get-started/locally/ [Please make sure that the locally-installed CUDA major version matches the PyTorch-shipped CUDA major version. For example if you have CUDA 11.x installed, make sure to install PyTorch compiled with CUDA 11.x.]
  • Update setuptools by pip install --upgrade setuptools
  • Install other dependencies by pip install -r requirements.txt

Manual Inference

bash
python run.py examples/chair.png --output-dir output/

This will save the reconstructed 3D model to output/. You can also specify more than one image path separated by spaces. The default options takes about 6GB VRAM for a single image input.

If you would like to output a texture instead of vertex colors, use the --bake-texture option. You may also use --texture-resolution to specify the resolution in pixels of the output texture.

For detailed usage of this script, use python run.py --help.

Local Gradio App

bash
python gradio_app.py

Troubleshooting

AttributeError: module 'torchmcubes_module' has no attribute 'mcubes_cuda'

or

torchmcubes was not compiled with CUDA support, use CPU version instead.

This is because torchmcubes is compiled without CUDA support. Please make sure that

  • The locally-installed CUDA major version matches the PyTorch-shipped CUDA major version. For example if you have CUDA 11.x installed, make sure to install PyTorch compiled with CUDA 11.x.
  • setuptools>=49.6.0. If not, upgrade by pip install --upgrade setuptools.

Then re-install torchmcubes by:

bash
pip uninstall torchmcubes
pip install git+https://github.com/tatsy/torchmcubes.git

Citation

bibtex
@article{TripoSR2024,
  title={TripoSR: Fast 3D Object Reconstruction from a Single Image},
  author={Tochilkin, Dmitry and Pankratz, David and Liu, Zexiang and Huang, Zixuan and and Letts, Adam and Li, Yangguang and Liang, Ding and Laforte, Christian and Jampani, Varun and Cao, Yan-Pei},
  journal={arXiv preprint arXiv:2403.02151},
  year={2024}
}

Issues· 105 open

View all issuesOpen on GitHub
  • #147

    Failed building wheel for torchmcubes

    Updated Aug 5, 2026
  • #154

    Evaluation Data: TripoSR and TripoSG geometry defect metrics

    Updated Aug 4, 2026
  • #150

    After using the `--bake-texture` parameter, the exported GLB file cannot be opened. What tools can be used to open it?

    Updated Jul 4, 2026
  • #132

    Can't bake texture

    Updated Jul 4, 2026
  • #48

    pip install git+https://github.com/tatsy/torchmcubes.git --> error

    Updated May 24, 2026
  • #151

    Feature: Add a ship-design-specialized 3D generation tool or extension

    Updated May 16, 2026
  • #148

    Finally got it installed as of 15 Jan 2026 using the following requirements.txt

    Updated Mar 10, 2026
  • #134

    Urgent - Output not in HD quality

    Updated Jan 28, 2026
  • #149

    Matching Output Quality using Example Images

    Updated Jan 28, 2026
  • #129

    Request for releasing the GSO and OmniObject3D evaluation list and metric

    Updated Jan 5, 2026

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言