Simple unified interface for geospatial vision-language models.
Project description
goldeneye is a simple and growing unified interface for geospatial vision-language models. Run any supported geospatial VLM with just a few lines of code.
Installation
pip install goldeneye
Quick Start
import goldeneye
# List available agents (models)
print(goldeneye.assets())
# Dispatch an agent for collecting intel
model = goldeneye.dispatch_agent("DescribeEarth")
report = model.recon("assets/sample.jpg", "Describe this image.")
print(report)
# Report(
# image='assets/sample.jpg',
#
# prompt='Describe this image.',
#
# response='The image depicts an aerial view of a
# residential area surrounded by dense greenery,
# likely trees and shrubs. The houses are
# scattered across the landscape, with varying
# sizes and designs, some featuring pitched roofs
# and others flat-roofed structures. The roads
# are visible as light-colored lines
# crisscrossing the area, connecting'
# )
Supported Models
Click to expand model list (7 models)
Memory Requirements
- 3B models (GeoR1, ZoomEarth, DescribeEarth): ~6GB VRAM at fp16
- 4B models (EarthDial): ~8GB VRAM at fp16
- 7B models (GeoChat, GeoLLaVA): ~14GB VRAM at fp16
- 8B models (GeoZero): ~16GB VRAM at fp16
Usage
import torch
import goldeneye
from PIL import Image
from transformers import BitsAndBytesConfig
# Load a model (auto-detects device)
model = goldeneye.dispatch_agent("DescribeEarth")
# Or specify device/dtype
model = goldeneye.dispatch_agent("DescribeEarth", device="cuda", dtype=torch.bfloat16)
# Or use quantization for larger models
config = BitsAndBytesConfig(load_in_8bit=True)
model = goldeneye.dispatch_agent("GeoChat", quantization_config=config)
# Run inference with file path or PIL Image
report = model.recon("satellite_image.jpg", "Describe this image.")
report = model.recon(Image.open("satellite_image.jpg"), "Describe this image.", max_new_tokens=256)
Benchmark Datasets
Click to expand dataset list (2 datasets)
| Dataset | Samples | Paper | HuggingFace |
|---|---|---|---|
| DE-Dataset | ~321k | DescribeEarth: A Global Vision-Language Dataset for Aerial and Satellite Image Captioning | earth-insights/DE-Dataset |
| XLRS-Bench-lite | ~2.8k | XLRS-Bench: A Benchmark for Cross-Lingual Visual Reasoning in Remote Sensing | initiacms/XLRS-Bench-lite |
from goldeneye.datasets import stream_de_dataset
# Stream samples from geospatial benchmarks
for sample in stream_de_dataset(split="train"):
report = model.recon(sample["image"], "Describe this satellite image.")
break
Contributing
See CONTRIBUTING.md for development setup and guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goldeneye-0.1.0.tar.gz.
File metadata
- Download URL: goldeneye-0.1.0.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d269bb7eb8753817a9eb61a8c05a543506943b7814de9807bcef754e51816d5
|
|
| MD5 |
755d43d41f7c78f2ead5826d2d459e9e
|
|
| BLAKE2b-256 |
fe1531e2ddc2702bcea2c027ccfdf0e191e968841afe1592ff2be54c73f48e07
|
Provenance
The following attestation bundles were made for goldeneye-0.1.0.tar.gz:
Publisher:
release.yaml on isaaccorley/goldeneye
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goldeneye-0.1.0.tar.gz -
Subject digest:
9d269bb7eb8753817a9eb61a8c05a543506943b7814de9807bcef754e51816d5 - Sigstore transparency entry: 812778651
- Sigstore integration time:
-
Permalink:
isaaccorley/goldeneye@7c7d2b1faa7f83a2aedd1807ac9e0139a1905d57 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/isaaccorley
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@7c7d2b1faa7f83a2aedd1807ac9e0139a1905d57 -
Trigger Event:
push
-
Statement type:
File details
Details for the file goldeneye-0.1.0-py3-none-any.whl.
File metadata
- Download URL: goldeneye-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
385cb70ad7cce0c6ff84f4f771ef68f088c9f5d02ecf28929845390913784e4a
|
|
| MD5 |
3bc3b2770ba38d5ab99150aea0efa4a9
|
|
| BLAKE2b-256 |
58224899b25f072f54b6dacc20941a1565af6a4a4dcdc92adc4a5ced68a2d51e
|
Provenance
The following attestation bundles were made for goldeneye-0.1.0-py3-none-any.whl:
Publisher:
release.yaml on isaaccorley/goldeneye
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goldeneye-0.1.0-py3-none-any.whl -
Subject digest:
385cb70ad7cce0c6ff84f4f771ef68f088c9f5d02ecf28929845390913784e4a - Sigstore transparency entry: 812778652
- Sigstore integration time:
-
Permalink:
isaaccorley/goldeneye@7c7d2b1faa7f83a2aedd1807ac9e0139a1905d57 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/isaaccorley
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@7c7d2b1faa7f83a2aedd1807ac9e0139a1905d57 -
Trigger Event:
push
-
Statement type: