dinov2 icon indicating copy to clipboard operation
dinov2 copied to clipboard

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

Results 171 dinov2 issues
Sort by recently updated
recently updated
newest added

hi ![11](https://github.com/facebookresearch/dinov2/assets/33740622/284d1125-9acc-439e-8003-654cc995911a) ![44](https://github.com/facebookresearch/dinov2/assets/33740622/67031e58-2248-4b2f-8b5c-614cc06ecade) ![22](https://github.com/facebookresearch/dinov2/assets/33740622/6f054e25-d316-4359-bfc3-d65d6bb88493) ![33](https://github.com/facebookresearch/dinov2/assets/33740622/4c2e591b-daf2-43fd-b828-ffbd21466f37) Test model: dinov2_ Vitb14_ Pre-train.pth The change in similarity of images under different lighting conditions, different shadows, and different lighting conditions Conclusion: It was found...

question

In the kNN evaluation code, the class probabilities retrieved from model output don't sum to 1: https://github.com/facebookresearch/dinov2/blob/e1277af2ba9496fbadf7aec6eba56e8d882d1e35/dinov2/eval/knn.py#L192-L195 This causes issues when computing kNN metrics. I would suggest adding the following...

Hi all, I'm trying to implement a multi-scale segmentation head as described in the paper : > "+ms: a boosted version of the linear setup. We concatenate the patch tokens...

Hi, I was reading the last paper from "Scalable Pre-training of Large Autoregressive Image Models " ( Apple https://arxiv.org/abs/2401.08541 ) and they made the observation that the best features to...

hello, How to train nearest neighbors model on extracted embeddings of images from different classes of folders using dinov2 model and retrieve nearest similar image for query image as shown...

Hi, first of all, thanks for the great work with DinoV2. Imagine that I want to find dogs (and their positions) among several images in my dataset. 1. I have...

Hi, I am trying to run the training code "python dinov2/run/train/train.py \ --nodes 4 \ --config-file dinov2/configs/train/vitl16_short.yaml \ --output-dir \ train.dataset_path=ImageNet:split=TRAIN:root=:extra=" but face to this error: **AttributeError: "DinoVisionTransformer' has no...

Hi! In the showcase notebook for segmentation you've released the mmseg configuration files for two datasets: VOC2012 and ADE20k for ViT-Small. In an absence of the training and evaluation code...

If I run this example in a colab https://github.com/facebookresearch/dinov2/blob/main/notebooks/depth_estimation.ipynb and set INSTALL = True # Switch this to install dependencies to install dependencies, I have follow error: ERROR: https://github.com/facebookresearch/dinov2[extras] is...

Training with dinov2 as image encoder, nothing changed in dinov2 I receive the following error: Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass /home/jqzhou/anaconda3/envs/gsp_gen/lib/python3.9/site-packages/torch/autograd/__init__.py:197: UserWarning: Grad...