TripoSG needs to be installed locally, here are the steps:
Preparation for installation
- Ensure a Python 3.10+ environment:
python --version - Cloning Warehouse:
git clone https://github.com/VAST-AI-Research/TripoSG.git
Environment Configuration
- Installation of PyTorch: choose the version according to whether CUDA is supported or not.
- Install the dependencies:
pip install -r requirements.txt
Model Generation
- Place the input image (PNG/JPG) into the project directory
- Execute the command:
python run.py --image 图像路径 --output-dir 输出目录 - Waiting for processing to complete to generate OBJ format models
Advanced users can tweak the generated effects with parameters:
--mc-resolution: Control mesh precision (default 256)--bake-texture: generate texture maps instead of vertex colors
This answer comes from the articleTripoSG: Generating high-resolution 3D modeled digital assets from a single imageThe































