Instructions to use OSTswiss/ReGeo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OSTswiss/ReGeo with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-text", model="OSTswiss/ReGeo")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OSTswiss/ReGeo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -9,6 +9,7 @@ base_model:
|
|
| 9 |
tags:
|
| 10 |
- Geo-Localization
|
| 11 |
library_name: transformers
|
|
|
|
| 12 |
---
|
| 13 |
# ReGeo – A Direct Regression Approach for Global Image Geo-Localization
|
| 14 |
|
|
|
|
| 9 |
tags:
|
| 10 |
- Geo-Localization
|
| 11 |
library_name: transformers
|
| 12 |
+
pipeline_tag: image-to-text
|
| 13 |
---
|
| 14 |
# ReGeo – A Direct Regression Approach for Global Image Geo-Localization
|
| 15 |
|