Before running TripoSplat, you must download the model weights into a ckpts/ directory. You can use any of the following methods:
HuggingFace
Using HuggingFace CLI:
hf download VAST-AI/TripoSplat --local-dir ckpts/
Using huggingface_hub Python library:
pip install huggingface_hub
python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='VAST-AI/TripoSplat', local_dir='ckpts/')"
ModelScope
Using ModelScope CLI:
pip install modelscope
modelscope download VAST-AI-Research/TripoSplat --local_dir ckpts/
Using modelscope Python SDK:
pip install modelscope
python -c "from modelscope import snapshot_download; snapshot_download('VAST-AI-Research/TripoSplat', local_dir='ckpts/')"
Manual Download
You can also manually download the weights from HuggingFace or ModelScope and place them in the ckpts/ folder.
# Use one of the following ways to download model weights.
# 1. Use HuggingFace CLI
hf download VAST-AI/TripoSplat --local-dir ckpts/
# 2. Use huggingface_hub
pip install huggingface_hub
python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='VAST-AI/TripoSplat', local_dir='ckpts/')"
# 3. Use ModelScope CLI
pip install modelscope
modelscope download VAST-AI-Research/TripoSplat --local_dir ckpts/
# 4. Use modelscope Python SDK
pip install modelscope
python -c "from modelscope import snapshot_download; snapshot_download('VAST-AI-Research/TripoSplat', local_dir='ckpts/')"