Note that there is a more well maintained fork available here: https://github.com/bmaltais/vggt-dataset-builder
- Make sure to clone this repo with
git clone --recurse-submodules - Create and activate a new virtualenv, then run
pip install -r vggt/requirements.txt, then runpip install -r vggt/requirements_demo.txt, then runpip install moderngl glcontext pyglet - Run
PYTHONPATH=vggt python build_warp_dataset.py, optionally with arguments to customize behavior. - (Settings I'm experimenting with currently:
PYTHONPATH=vggt python build_warp_dataset.py --resize-width 1216 --resize-height 832 --sigma 12 --upsample-depth --auto-s0, plus--auto-skip --limit 10if working with DL3DV)
PYTHONPATH=vggt python vggt_point_cloud_viewer.py [input image filenames] --output [output image filename]- You can use
--viewport-widthand--viewport-heightto set the output resolution of the viewport and output image. - You can also use
--resize-widthand--resize-heightto upsample the point cloud; when you do, it behaves as if--upsample-depthis on, as there's no reason otherwise to do this in the viewer app. --sigmaand--auto-s0are also available, as in the builder.