Skip to main content

Example Output - Earth-OneVision / SatQuery AI

Since no trained checkpoint exists, there's no measured good output - the baseline produces degenerate repetition. What follows is format-accurate (built from the exact serializer/parser/decoder code), but illustrative content.


Example: grounding query​

Input: single optical GeoTIFF, query "Highlight the water body"

Prompt built by pipeline:

<image>
Locate <ref>Highlight the water body</ref> in this image and output its horizontal bounding box coordinates in JSON format.

Raw generated token stream (what the LM head emits):

{"hbox_2d": [<382>, <447>, <471>, <566>], "label": "water body"}

DecodedOutput.to_dict() - the CLI output (inference/generate.py):

{
"text": "{\"hbox_2d\": [<382>, <447>, <471>, <566>], \"label\": \"water body\"}",
"boxes": [[0.382, 0.447, 0.471, 0.566]],
"oriented_boxes": [],
"points": [],
"masks": [],
"relation": null,
"confidence": 0.87
}

<382> → 382/1000 = 0.382 normalized; the frontend multiplies by image dimensions to draw the box.

Full API report (/api/analyze, via report.py):

{
"generated_at_utc": "2026-09-18T12:00:00+00:00",
"query": "Highlight the water body",
"execution_summary": {
"classified_task": "grounding",
"selected_tool": "grounding",
"input_configuration": "single",
"num_images": 1,
"modalities": ["optical"],
"parameters": {
"max_new_tokens": 256,
"task_prompt_template": "grounding",
"processor_modality": "optical",
"benchmark_dataset": null,
"metadata_validation": "pair CRS/transform/shape checked for API uploads"
},
"latency_seconds": 6.41,
"model_name": "stage2",
"model_source": "checkpoint",
"checkpoint": "backend/checkpoints/stage2/final"
},
"compatibility_check": { "ok": true, "input_configuration": "single", "warnings": [] },
"result": {
"text": "{\"hbox_2d\": [<382>, <447>, <471>, <566>], \"label\": \"water body\"}",
"boxes": [[0.382, 0.447, 0.471, 0.566]],
"oriented_boxes": [],
"points": [],
"masks": [],
"num_masks": 0,
"relation": null,
"confidence": 0.87
},
"disclaimer": "SatQuery AI reproduction checkpoint - not the official Earth-OneVision weights (none are publicly available; see docs/assumptions.md #A11). ..."
}

Other task outputs, same machinery​

Captioning - plain text​

{
"text": "A coastal urban area with a harbor, dense residential blocks, and a river mouth.",
"boxes": [],
"masks": []
}

Detection - list of objects via serialize_spatial_objects​

Raw token stream:

[{"hbox_2d": [<112>, <345>, <256>, <360>], "label": "vehicle"}, {"hbox_2d": [<410>, <220>, <540>, <300>], "label": "vehicle"}]

Decoded:

{"boxes": [[0.112,0.345,0.256,0.360],[0.410,0.220,0.540,0.300]]}

Segmentation / change segmentation - R-RLE​

Raw token stream (24 rows of label*count separated by ;):

<seg>others*8, target*4, others*12; others*6, target*7, others*11; ...; others*24</seg>

Decoded to a 24×24 label grid (nearest-upsampled to original resolution):

{"masks": [[[0,0,0,...],[0,0,...],...]], "num_masks": 1}

Relation reasoning​

Raw token stream:

<rel>inside</rel>

Decoded:

{"relation": "inside", "text": "<rel>inside</rel>"}

Batch / evaluation output​

batch_generate.py writes one line per record:

{"id": "cdvqa_val_0042", "prediction": "yes", "reference": "yes"}

which evaluation/vqa.py turns into:

{"accuracy": 0.83, ...}

What the current baseline actually produces​

The captured responses (backend/test_responses/) show the current checkpoint's real output - degenerate repetition, expected from 1 epoch on 772 images:

TaskQueryActual outputConfidence
VQA"How many buildings are visible?""111111111..."0.14
Grounding"Highlight the water body""yesyesyes...", boxes: []0.38
Change"What changed between these two dates?""111111111..."0.14

The pipeline output is correctly structured, but the model's semantic output is not yet meaningful - the format works, the answers don't. A properly PCMA-trained checkpoint would fill boxes/masks/text with real content.