Comments (1)
Hey there, sorry this issue slipped through. I'm assuming that you want to create cluster centers (what we call "VLAD vocabularies") and not really use the AnyLoc method (that comes with a set of cluster centers - each for a certain "Domain" fit for deployment).
You can use the following scripts
- For DINOv2: dino_v2_global_vocab_vlad.py (see dino_v2_global_vocab_vlad_ablations.sh for arguments)
- For DINOv1: dino_global_vocab_vlad.py (see dino_global_vocab_vlad_ablations.sh for arguments)
These would work for the datasets we have tested. However, since you mention that you have a custom dataset, you'll need to implement it in a separate class and put it here (see custom_datasets for example)
AnyLoc/scripts/dino_v2_global_vocab_vlad.py
Lines 105 to 116 in 2ae462d
I'd refer you to issue #8 for more information. Let me know if that helps.
from anyloc.
Related Issues (20)
- Releasing the model on torch.hub? HOT 11
- AnyLoc-VLAD-DINO : "ViT-S8 layer 9 key facet features and 128 clusters for VLAD." HOT 1
- VLAD Caching for the database and query HOT 4
- one error in AnLoc/demo/ anyloc_vlad_generate.py row of 120th HOT 1
- need help when run run the cmd python dino_v2_vlad.py on terminal HOT 2
- Some questions that need help HOT 7
- About GT.npy of the datasets in the paper HOT 1
- Recall reproduce HOT 3
- local variable 'domain' error HOT 1
- AttributeError: 'DinoV2ExtractFeatures' object has no attribute 'fh_handle' HOT 1
- Conda environment installation error HOT 3
- NetVLAD Results HOT 3
- Distance used for query (image retrieval) HOT 1
- Question about the "Anyloc vocabularies" HOT 4
- Question about SAM HOT 1
- Recall reproduce on Baidu Mall dataset HOT 4
- Rotation invariant features HOT 1
- Nordland dataset HOT 2
- Use of project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anyloc.