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", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| 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}") |