GithubHelp home page GithubHelp logo

Comments (1)

VicenteVivan avatar VicenteVivan commented on September 18, 2024

Hi @Skyy93,

Thank you for your interest in our work and your kind words. Yes, you are correct. Based on our experience, to increase the resolution of the encoder of the GPS coordinates, you could start by adding an extra RFF encoding layer followed by an MLP to the location encoder with a higher $\sigma$ (e.g. $\sigma = 2^{12}$). In code, this would look like this:

from geoclip import LocationEncoder

gps_encoder = LocationEncoder(sigma=[2**0, 2**4, 2**8, 2**12], from_pretrained=False)

Additionally, I would recommend you to manually load the pre-trained weights for the encoders with $\sigma_i \in \{2^0, 2^4, 2^8 \} $ so that you can have a warm start if you decide to fine-tune GeoCLIP. Alternatively, you could load and freeze these weights and only fine-tune the new branch of the location encoder. You can add additional branches with increasing $\sigma$ values if you need higher resolution for the purposes of your experiment. As an additional tip, you could enforce meter-level smoothness in the learned representation by augmenting the GPS coordinates of your dataset, adding Gaussian noise with an std of a few meters, similarly to how we did in our paper.

Please, let us know if you have any more questions.

from geo-clip.

Related Issues (10)

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.