Closed m-shahbaz-kharal closed 10 months ago
The evaluation actually trains classifiers to evaluate them. To evaluate a specific pretrained classifier (like the provided models), one could either adapt the code to bypass that training and classifier selection to only run the corresponding pure evaluation code. Or it's perhaps just simpler to manually run inference + compute accuracy on the validation set of ImageNet.
Hi,
I tried to first run
python run/eval/knn.py <args>
and it worked, I was able to reproduce the results in the paper. But then I used tried to evaluate the1-layer classification head
via:and it gives following log.err:
and following log.out:
I assumed that since the dinvo2 feature model is there and classification weights are also given I should be able to load the classifer model and eval.
And one more thing, if I remove the
--classifier-fpath pretrained/dinov2_vits14_linear_head.pth
it says no checkpoint found and starts training the model, even though the script is supposed to be for evaluation (as the path suggestsrun/eval/linear.py
.