Official code for SINDER: Repairing the Singular Defects of DINOv2 (ECCV 2024 Oral)
Citation
@InProceedings{Haoqi_2024_ECCV,
author = {Wang, Haoqi and Zhang, Tong and Salzmann, Mathieu},
title = {{SINDER}: Repairing the Singular Defects of DINOv2},
booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
month = {September},
year = {2024}
}
Install
conda env create -f environment.yml
conda activate sinder
pip install -e .
Train
Put ImageNet-1K dataset at data/imagenet
folder.
./main.py
Visualize
# visualize original dinov2
./visualize.py resources/example.jpg
# visualize sinder, ckpt download link below
./visualize.py resources/example.jpg --checkpoint path/to/sinder.pth