Reference manual#
Introduction#
This page is the quick-reference for eo-data-embedding: the command table and the configuration
parameters. For step-by-step operation see Operations manual; for a worked
walkthrough see Tutorials.
Help method#
Invoke the CLI as eo-data-embedding <command> [args] (alias eoemb). Running it with no
arguments, -h, --help or help prints the top-level usage; eo-data-embedding <command> --help prints a command’s options. The demo command works from any install; the phase
subcommands need a source checkout (git clone + pip install -e .). The expected result of a
successful run is exit status 0 and the command’s output file under artifacts/.
Command reference#
Command |
Phase |
Purpose |
Needs |
|---|---|---|---|
|
— |
Plug-and-play CPU demo: download EuroSAT + bundle, serve the Gradio UI |
CPU only |
|
— |
Serve the demo UI over an already-fetched bundle |
CPU only |
|
1 |
Embed a dataset with frozen Clay → |
GPU + Clay |
|
2 |
FAISS similarity retrieval + mAP / precision@k |
— |
|
3 |
Few-shot linear probe + label-efficiency metrics |
— |
|
5 |
Bitemporal OSCD change-detection probe |
— |
|
0 |
Sanity check (embed one sample) |
CPU only |
|
0 |
Green-light end-to-end smoke gate |
CPU only |
Configuration parameters#
The phase scripts read their defaults from configs/default.yaml (loaded via
eo_data_embedding.config.load_config()); CLI flags still override.
Key |
Default |
Meaning |
|---|---|---|
|
|
Backbone model ( |
|
|
Compute device ( |
|
|
Dataset ( |
|
|
Input data directory |
|
|
Number of patches to embed |
|
|
Embedding batch size |
|
|
Output embedding table |
|
|
Retrieval top-k |
|
|
Search results markdown |
|
|
Few-shot label counts per class |
|
|
Probe results markdown |
|
|
Changed-pixel fraction for a tile to count as changed |
Environment variables#
Variable |
Default |
Effect |
|---|---|---|
|
|
Logging level for all CLI output |
|
— |
Override path to the Clay band/metadata file |
|
built-in |
Override the demo bundle download URL |
Error messages#
Message / symptom |
Meaning |
Action |
|---|---|---|
|
A phase subcommand was run outside a source checkout |
Use |
|
Unrecognised subcommand |
Run |
|
Inconsistent torch/torchvision build |
Install CPU-matched wheels (as CI does) |
Missing GPU / Clay checkpoint |
|
Run the CPU |