Roboflow

MetaMetaReleased Apr 2023Apache 2.0

DINOv2

We don't benchmark DINOv2.

It is an open-weight model from Meta under the Apache 2.0 license, and free for commercial use.

DINOv2 Overview

DINOv2 is a self-supervised vision foundation model released in April 2023 by Meta AI's FAIR lab. It produces general-purpose visual features that transfer to a wide range of downstream tasks (including image classification, semantic segmentation, depth estimation, and image retrieval) without requiring task-specific fine-tuning. DINOv2 is trained on a curated dataset of 142 million images using a self-supervised objective combining student-teacher distillation, masked image modeling, and an image-level contrastive loss, extending the approach introduced in the original DINO.

DINOv2 License

Apache-2.0 · Permissive license

DINOv2 is released under the Apache 2.0 license, so it's commercially usable out of the box: you can ship it in closed-source, commercial products, including self-hosted deployments, without paying a license fee or open-sourcing your code. The DINOv2 license is permissive, so no separate commercial license is required.

Commercial use
Permitted. Because Apache-2.0 is permissive, DINOv2 can ship inside paid products and internal systems with no commercial license and no revenue threshold.
Modification
Permitted. Fine-tuning, quantizing, and distilling are all allowed, and your code changes can stay closed. Files you change must be marked as changed.
Redistribution
Permitted with attribution. Ship the Apache-2.0 license text and any NOTICE file alongside the weights or derived code.

Apache-2.0 grants an express patent license that terminates if you bring a patent claim over the work, and it disclaims warranties. Validate DINOv2 on your own data before you depend on it in production.

Read the full Apache 2.0 license ↗

Do I need a commercial license for DINOv2?

This is the straightforward case: a permissive license is the best technical solution and you are free to deploy DINOv2 commercially without open-sourcing your own code.

Do not hesitate to reach out with questions for your commercial project. Our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

This model is released under the Apache License 2.0, a permissive open-source license that allows commercial use, modification, distribution, and patent use.

Yes. Under the terms of the Apache 2.0 license, you can freely use this model for commercial purposes, including in proprietary products. You must retain the copyright notice and disclaimers when redistributing.

License information is provided as a guide and is not legal advice.

DINOv2 Details

Details

Categoryopen
ModalityVision
Parameters21M-1.1B
LicenseApache-2.0
Release DateApr 2023

Vision Tasks

ClassificationImage SimilarityImage Embedding

Resources