A benchmark designed to advance foundation models for Earth monitoring, tailored for remote sensing. It encompasses six classification and six segmentation tasks, curated for precision and model evaluation. The package also features a comprehensive evaluation methodology and showcases results from 20 established baseline models.
Project description
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
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
cd geobench
python download_geobench.py
Loading Datasets
See example_load_dataset.py
for how to iterate over datasets.
from geobench import io
for task in io.task_iterator(benchmark_name="classification_v0.9.0"):
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.
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
File details
Details for the file geo_benchmark-0.0.1.tar.gz
.
File metadata
- Download URL: geo_benchmark-0.0.1.tar.gz
- Upload date:
- Size: 22.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-60-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aea182f50378ce2a9a74837fb288755f1826bf051a589cf33fb3b1a614b5b51 |
|
MD5 | c0af46e6df2bf8995bacb44c6a7231c0 |
|
BLAKE2b-256 | 603a26f58f50a5997bca39604c3618ccd270196eca1f42fb3cc6e8dfaf76f208 |
File details
Details for the file geo_benchmark-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: geo_benchmark-0.0.1-py3-none-any.whl
- Upload date:
- Size: 22.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-60-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a04a1f782a874e3c65aca3b63ecb913acf3082c013a54f620826be95a2f1ded2 |
|
MD5 | e92a0ffe850af229108ddb7cdf670f2d |
|
BLAKE2b-256 | cfa5dea28e5ca9d9796634da43a1227dda7b034af6859420fa4d0ae11733470a |