What is this repo about?
- User
What is this repo about?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
What is this repo about?
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
This repository is for GeoCLIP, a machine learning framework designed for worldwide image geo-localization. GeoCLIP leverages a CLIP-inspired approach to align images with their corresponding geographical locations. It introduces a novel location encoder that models the Earth as a continuous function and learns semantically rich features for both images and GPS data.
Worldwide Image Geo-localization:
Pre-Trained Location Encoder:
Applications:
Datasets and Training:
Ease of Use:
Image Geo-localization: Predict the most likely GPS coordinates for a given image:
from geoclip import GeoCLIP
model = GeoCLIP()
top_pred_gps, top_pred_prob = model.predict("image.png", top_k=5)
GPS Embedding Generation: Generate embeddings for GPS coordinates:
from geoclip import LocationEncoder
gps_encoder = LocationEncoder()
gps_data = torch.Tensor([[40.7128, -74.0060], [34.0522, -118.2437]]) # NYC and LA
gps_embeddings = gps_encoder(gps_data)
GeoCLIP can be installed via pip or directly from the source:
pip install geoclip
or
git clone https://github.com/VicenteVivan/geo-clip
cd geo-clip
python setup.py install
GeoCLIP is a cutting-edge tool for image geo-localization and GPS-based embeddings, combining the power of CLIP-inspired contrastive learning and a novel location encoder to enable innovative geo-aware applications. It is particularly useful for researchers and developers working on tasks involving geographical data and image processing.