Comments (3)
Hey @Mui33,
Are you trying to replicate our work or only use the AnyLoc method for estimating global descriptors?
Estimating Global Descriptors
I'd suggest you check out the demos in this case. It contains a script (and a Colab notebook) to do just the same.
In fact, you can now also use torch.hub
for doing this. See this comment for more information. It has the following dependencies
dependencies = [
'torch', 'torchvision', # Basic PyTorch
'einops', # Functionalities (utilities)
'fast_pytorch_kmeans', # KMeans clustering (in VLAD)
]
You can install them using conda
, mamba
, or even pip
(however you choose). This is going to be our preferred way of using AnyLoc.
Replicating our work
Though the Getting Started README suggests that You can also use an existing conda environment
, I suggest you use a separate environment for this purpose (to avoid any conflicts with already installed packages).
Let me know if I have answered your concerns.
On a side note (for future reference), our installer runs this
Line 222 in 2ae462d
from anyloc.
Just saw that it downloads a separate cudatoolkit
(11.8)
This doesn't seem interfere with the CUDA toolkit for PyTorch (for our versions at least)
The CUDA conflict causes no problems running scripts in AnyLoc on our end.
from anyloc.
Yes, I'm trying to replicate your work. Thank you for your validation and answers! @TheProjectsGuy
Since I had other reported errors during my replication, I've been worried that maybe a conda environment conflict was causing the error. Thank you for helping me to eliminate this concern.
Maybe you guys could modify the installation code for the faiss package. Because the code conda_raw_install -c pytorch faiss-gpu==1.7.2
does not install the package correctly.
from anyloc.
Related Issues (20)
- 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
- vlad cluster center for custom dataset HOT 1
- 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
- How to reproduce Fig.3 Qualitative result about similarity map?
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.