Tauke190/segmentedvggt

This project extends the Visual Grounded Geometry Transformer (VGGT) to perform per-point segmentation on 3D point clouds.

6

stars

197

commits

Python

primary language

Nov 30, 2025

updated

README

VGGT with Semantic Segmentation

This project extends the VGGT architecture by introducing a segmentation head for semantic scene understanding and visualization.

Overview

  • VGGT is a vision model designed for 3D scene understanding from multi-view images.
  • This repository adds a segmentation head to VGGT, enabling per-pixel semantic segmentation alongside the original 3D tasks.

How Segmentation is Added

1. Segmentation Head Integration

  • A new neural network module (the segmentation head) is attached to the VGGT backbone.
  • This head outputs segmentation logits for each input image, predicting the probability of each pixel belonging to a target class (e.g., vehicle, sky, foreground).

2. Training the Segmentation Head

  • The segmentation head is fine-tuned using segmentation masks generated by external models, such as:
    • CLIPSeg: a prompt-based semantic segmentation model.
    • Foreground/background segmentation models.
  • During fine-tuning, the VGGT backbone is typically frozen (not updated), and only the segmentation head’s parameters are trained.
  • The segmentation head learns to mimic the masks provided by the external model, adapting VGGT for semantic segmentation tasks.

3. Inference and Visualization

  • At inference time, the fine-tuned segmentation head is loaded onto the VGGT backbone.
  • The model predicts both 3D scene information and segmentation masks for each image.
  • The segmentation results can be used to:
    • Color or filter 3D point clouds (e.g., highlight vehicles, remove sky).
    • Enable richer scene analysis and visualization.

Why This Approach?

  • Leverages powerful pre-trained models: By using masks from models like CLIPSeg, the segmentation head can be trained with minimal manual annotation.
  • Modular and extensible: The segmentation head can be adapted to different segmentation tasks or classes by changing the mask generator.
  • Enhances 3D scene understanding: Combining 3D geometry with semantic segmentation enables more informative and interactive visualizations.

In summary:
This project augments VGGT with a segmentation head, fine-tuned using masks from other segmentation models, to enable semantic segmentation and enhanced 3D scene visualization.

Contributors

Tauke190

189 commits

Connor03p

7 commits

yusraahmed09

1 commits

Tauke190/segmentedvggt

This project extends the Visual Grounded Geometry Transformer (VGGT) to perform per-point segmentation on 3D point clouds.

6

stars

197

commits

Python

primary language

Nov 30, 2025

updated

README

VGGT with Semantic Segmentation

This project extends the VGGT architecture by introducing a segmentation head for semantic scene understanding and visualization.

Overview

  • VGGT is a vision model designed for 3D scene understanding from multi-view images.
  • This repository adds a segmentation head to VGGT, enabling per-pixel semantic segmentation alongside the original 3D tasks.

How Segmentation is Added

1. Segmentation Head Integration

  • A new neural network module (the segmentation head) is attached to the VGGT backbone.
  • This head outputs segmentation logits for each input image, predicting the probability of each pixel belonging to a target class (e.g., vehicle, sky, foreground).

2. Training the Segmentation Head

  • The segmentation head is fine-tuned using segmentation masks generated by external models, such as:
    • CLIPSeg: a prompt-based semantic segmentation model.
    • Foreground/background segmentation models.
  • During fine-tuning, the VGGT backbone is typically frozen (not updated), and only the segmentation head’s parameters are trained.
  • The segmentation head learns to mimic the masks provided by the external model, adapting VGGT for semantic segmentation tasks.

3. Inference and Visualization

  • At inference time, the fine-tuned segmentation head is loaded onto the VGGT backbone.
  • The model predicts both 3D scene information and segmentation masks for each image.
  • The segmentation results can be used to:
    • Color or filter 3D point clouds (e.g., highlight vehicles, remove sky).
    • Enable richer scene analysis and visualization.

Why This Approach?

  • Leverages powerful pre-trained models: By using masks from models like CLIPSeg, the segmentation head can be trained with minimal manual annotation.
  • Modular and extensible: The segmentation head can be adapted to different segmentation tasks or classes by changing the mask generator.
  • Enhances 3D scene understanding: Combining 3D geometry with semantic segmentation enables more informative and interactive visualizations.

In summary:
This project augments VGGT with a segmentation head, fine-tuned using masks from other segmentation models, to enable semantic segmentation and enhanced 3D scene visualization.

Contributors

Tauke190

189 commits

Connor03p

7 commits

yusraahmed09

1 commits

Languages

Python

99.8%