facebookresearch/dinov2

PyTorch code and models for the DINOv2 self-supervised learning method.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 4th, 2026
Created on March 29th, 2023
Open Issues & Pull Requests: 297 (+0)
GitHub issues: Enabled
Number of forks: 1,264
Total Stargazers: 13,310 (+0)
Total Subscribers: 104 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.4 days
Mean response time: 48.1 days
90th percentile: 150.8 days
Tracked items: 136

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 110
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 753 days
Stale 30+ days: 109
Stale 90+ days: 109

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • documentation (10)
  • enhancement (9)
  • bug (1)
  • help wanted (1)
  • question (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The project addresses the challenge of obtaining high-quality visual representations at scale without manual annotation. DINOv2 uses self-supervised learning to train vision transformers on a large unlabeled image dataset, producing models that generate discriminative patch-level and image-level features. These features are designed to transfer effectively across diverse computer vision tasks and domains without fine-tuning, working well even with simple linear classifiers on top.

Developers should adopt DINOv2 if they need strong out-of-the-box visual features for downstream tasks like classification, segmentation, or retrieval without the overhead of task-specific fine-tuning. The pretrained models are particularly valuable for scenarios where labeled training data is scarce or expensive to obtain. The project includes variants with registers following recent research on improving vision transformer efficiency, and has expanded to support domain-specific applications including X-ray analysis and cell microscopy imaging through specialized backbone variants.

The project maintains active development with recent additions of specialized model variants for medical imaging and biology applications. The codebase includes implementations of multiple research papers extending the core method, indicating ongoing refinement of the approach. The repository provides both the training code and pretrained model weights, enabling both direct use of existing models and reproduction or extension of the training methodology.