Pre-installation
- Ensure that Python 3.8 or higher is installed
- 建议使用支持CUDA的GPU以获得更好的性能(非必须)
Detailed installation steps
- Cloning the code base:
git clone https://github.com/VAST-AI-Research/TripoSF.git
- Go to the project catalog:
cd TripoSF
- Install the dependencies:
pip install -r requirements.txt
- 下载预训练模型并放入
checkpoints/
file (paper)
基本测试
运行以下命令测试安装是否成功:
python run.py --image test.jpg --output-dir output/
如果程序能正常执行并无报错,说明安装配置完成。
caveat
- It is recommended to use a virtual environment to avoid dependency conflicts
- GPU用户请确保安装了匹配CUDA版本的PyTorch
This answer comes from the articleTripoSF: A useful tool for quickly generating high-resolution 3D modelsThe