This repository is for "Probabilistic Self-supervised Learning via Scoring Rules Minimization" paper.
Install requirments:
pip install -r requirements.txtPlease download Imagenet.
You can run the pretraining of model for Imagenet with following code.
torchrun --nproc_per_node=8 main_prosmin.py --arch vit_small --data_path /path/to/imagenet/train --output_dir /path/to/saving_dirYou can run the linear-evaluation of the model for Imagenet with the following code.
torchrun --nproc_per_node=8 eval_linear.py --arch vit_small --data_path /path/to/imagenet --pretrained_weights /path/to/saving_dirThis repository is built using the DINO repository.
This repository is released under the Apache 2.0 license as found in the LICENSE file.
