Giter Club home page Giter Club logo

Comments (3)

TheProjectsGuy avatar TheProjectsGuy commented on May 27, 2024

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

conda_raw_install -c pytorch faiss-gpu==1.7.2

from anyloc.

TheProjectsGuy avatar TheProjectsGuy commented on May 27, 2024

Just saw that it downloads a separate cudatoolkit (11.8)
image

This doesn't seem interfere with the CUDA toolkit for PyTorch (for our versions at least)
image

The CUDA conflict causes no problems running scripts in AnyLoc on our end.

from anyloc.

Mui33 avatar Mui33 commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.