File size: 401 Bytes
15e0f35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
license: apache-2.0
---
Model: Geoclip (https://arxiv.org/abs/2309.16020)

Example Usage:
```python
from huggingface_hub import hf_hub_download
import torch

hf_hub_download("MVRL/geoclip-location-encoder", "model.py", local_dir=".")

from model import LocationEncoder

model = LocationEncoder.from_pretrained("MVRL/geoclip-location-encoder")

print(model(torch.tensor([[42.0, 128.0]])).shape)
```