GEO-Bench: Toward Foundation Models for Earth Monitoring
GeoBench is a ServiceNow Research project.
GEO-Bench is a General Earth Observation benchmark for evaluating the performances of large pre-trained models on geospatial data. Read the full paper for usage details and evaluation of existing pre-trained vision models.
Installation
You can install GEO-Bench with pip:
pip install geo-benchmark
Note: Python 3.9+ is required.
Downloading the data
Set $GEO_BENCH_DIR to your preferred location. If not set, it will be stored in $HOME/dataset/geobench.
Next, use the download script. This will automatically download from Zenodo
Run the command:
geobench-download
The current version of the benchmark is 0.9.1. It will soon be updated to incorporate minor changes.
You need ~65 GB of free disk space for download and unzip (once all .zip are deleted it takes 57GB). If some files are already downloaded, it will verify the md5 checksum. Feel free to restart the downloader if it is interrupted.
Test installation
You can run tests. Note: Make sure the benchmark is downloaded before launching tests.
pip install pytest
geobench-test
Loading Datasets
See example_load_dataset.py for how to iterate over datasets.
import geobench
for task in geobench.task_iterator(benchmark_name="classification_v0.9.1"):
dataset = task.get_dataset(split="train")
sample = dataset[0]
for band in sample.bands:
print(f"{band.band_info.name}: {band.data.shape}")
Visualizing Results
See the notebook baseline_results.ipynb for an example of how to visualize the results.
Metadata
Release files for geo-benchmark 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geo_benchmark-0.0.8.tar.gz | 345.1 kB | Without provenance | Details for geo_benchmark-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geo_benchmark-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for geo_benchmark-0.0.8-py3-none-any.whl |
Total release size: 691.2 kB
Release files / geo_benchmark-0.0.8.tar.gz
| Download URL | geo_benchmark-0.0.8.tar.gz |
|---|---|
| Size | 345.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a64fb6a126f91754969c86c867e5d0f93289ade22bfcdb78e1e7908743fb6134
|
|
BLAKE2b-256 checksum How to use checksums |
c9072905356444a994cc419cd292faa14bc5e38578f1a46d01bc1d008c94e842
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.9 Linux/6.2.0-32-generic
|
Release files / geo_benchmark-0.0.8-py3-none-any.whl
| Download URL | geo_benchmark-0.0.8-py3-none-any.whl |
|---|---|
| Size | 346.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9418dc7978689d51f2dbe32b5442ae221d41ff7472092815c58c55037c902f7
|
|
BLAKE2b-256 checksum How to use checksums |
babcd2e719e55f5227fe3f3572213c4b49759160e8759bc3ccb591052b706ed0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.9 Linux/6.2.0-32-generic
|
Security for geo-benchmark 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.