Instructions to use Xeexeex/geolocation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Xeexeex/geolocation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Xeexeex/geolocation") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Xeexeex/geolocation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 935 Bytes
74a5bec da0c364 74a5bec da0c364 74a5bec da0c364 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ---
license: apache-2.0
library_name: transformers
tags:
- geoguessr
- geolocation
- vision
pipeline_tag: image-classification
---
# 🌍 GeoGuessr AI: Geolocation Predictor
Model ini dirancang untuk menebak koordinat lokasi berdasarkan gambar pemandangan jalan (Street View).
## 🚀 Cara Menggunakan Melalui UI (Widget)
Di sebelah kanan halaman ini, kamu akan melihat kotak **"Hosted inference API"**:
1. Klik area **"Upload image"**.
2. Masukkan foto jalanan atau pemandangan.
3. Model akan memberikan output koordinat (atau label lokasi).
---
## 💻 Cara Menggunakan via Python (Library Transformers)
Jika kamu ingin menggunakan model ini di dalam kodinganmu sendiri, gunakan cara berikut:
```python
from transformers import pipeline
# Inisialisasi model
geoguessr = pipeline("image-classification", model="Xeexeex/geolocation")
# Prediksi lokasi
result = geoguessr("lokasi_gambar.jpg")
print(f"Hasil Prediksi: {result}") |