Home vggt pytorch inference
Post
Cancel

Open In Github

Repository for running the VGGT model in PyTorch vggt

TODO

  • Add feature tracking (DeDoDe v2)
  • Add Bundle Adjustment from VGGSfM
  • Add masking? (Sky, vehicles…)

Installation

Option1: pip installation

1
2
3
git clone https://github.com/ibaiGorordo/vggt-pytorch-inference.git
cd vggt-pytorch-inference
pip install -r requirements.txt

Option2: uv installation

Recommended but requires uv to be installed (https://docs.astral.sh/uv/getting-started/installation/)

1
2
3
git clone https://github.com/ibaiGorordo/vggt-pytorch-inference.git
cd vggt-pytorch-inference
uv sync
  • Additionally, to activate the uv environment: source .venv/bin/activate in macOS and Linux or .venv\Scripts\activate in Windows

Examples:

1
python example.py

License

The code is taken from the official VGGT repository which is distributed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license. See LICENSE for more information.

References:

This post is licensed under CC BY 4.0 by the author.