Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal unit tests for DINOv2 #156

Merged
merged 4 commits into from
Dec 18, 2023
Merged

Add minimal unit tests for DINOv2 #156

merged 4 commits into from
Dec 18, 2023

Conversation

deltheil
Copy link
Member

No description provided.

i.e. mimic the other conversion scripts
To be completed with tests using image preprocessing, e.g. test cosine
similarity on a relevant pair of images
@deltheil deltheil marked this pull request as ready for review December 16, 2023 15:20
Those are not supported yet in HF: so just compared with a precomputed
norm. Note: in the initial PR [1] the Refiners' implementation has been
tested against the official code using Torch Hub.

[1]:
#132 (comment)
@deltheil deltheil merged commit e789225 into main Dec 18, 2023
1 check passed
@deltheil deltheil deleted the pr/tests-dinov2 branch December 18, 2023 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants