GeoBenchV2: A comprehensive benchmark evaluation suite for Earth observation tasks.
Project description
GEO-Bench 2 (Still under development, stay tuned for full release)!
Overview
GEO-Bench-2 is a framework for robust evaluation of Geospatial Foundation Models (GeoFMs) which expands on the work of GEO-Bench. It has been carefully curated for evaluation of state-of-the-art model features such as such as multi-modality and multi-temporality. This library aims to facilitate extensive benchmarking of GeoFMs on the GEo-Bench-2 datasets, including features such band re-ordering, changing normalizations, and more.
For details on the GEO-Bench-2 methodology, please see: #TODO:link to paper
The Geo-Bench-2-Leaderbaord tracks the performance of state-of-the-art models on GeoBench-2 datasets. It further acts as a public repository of model performance. We strongly encourage users of the this library to submit experimental results to the leaderboard.
Installation
For a stable release, install with pip install geobenchv2==<version>.
For the the most recent version of the main branch, install with pip install git+https://https://github.com/The-AI-Alliance/GEO-Bench-2.git.
To use the library as a developer, install in editable mode with:
git clone https://https://github.com/The-AI-Alliance/GEO-Bench-2.git
cd GEO-Bench-2
pip install -e .
Download
To download the datasets individually, please set download=True for each dtamodule. All the datasets can also be downloaded directly from this link #TODO
Documentation
The latest documentation can be found at this link
Generating the Benchmark
The directory ./generate_benchmark contains a script for each included dataset that has three purposes:
- Generate a dataset subset that is sufficient for benchmark purposes and minimal in size to reduce disk space requirements for users.
- Generate possible partition sizes for experiments across dataset sizes
- Generate a super tiny dataset version of dummy data that is used for unit testing all implemented functionality
Downloading the datasets
While each dataset class has automatic download capabilites similar to TorchGeo, downloads can be sped up by using the Huggingface Command Line Interface. We have therefore provided a bash script named download_geobenchV2.sh, which you can use to download all or selected datasets to a specified root.
First, you need to install the Hugging Face CLI:
pip install huggingface_hub[cli]
Then, you can use the download script as follows:
./download_geobenchV2.sh
# or
./download_geobenchV2.sh all
if you want to download all datasets.
Or only download specific datasets, for example:
./download_geobenchV2.sh dynamic_earthnet
./download_geobenchV2.sh caffe
./download_geobenchV2.sh spacenet7
The default root where the datasets will be downloaded is ./data, if you like to specify a dedicated download root for a specific or all dataset downloads, preprend the above commands as follows:
DOWNLOAD_ROOT="path/to/your/desired/location" ./download_geobenchV2.sh spacenet7
License
This code is licensed under the Apache License 2.0. By contributing to this repository, you agree that your contributions will be licensed under the Apache 2.0 License unless otherwise stated.
Dataset Licenses
All dataset are distributed under open-licenses. For license details please see the respective Huggingface repository of each dataset. A summary of the license files can be found in this file.
Credits
This project was developed as part of the AI Alliance with involvement from IBM and ServiceNow.
Citation
Please add the following citation whereevr this library is used: #TODO
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 geobenchv2-0.9.tar.gz.
File metadata
- Download URL: geobenchv2-0.9.tar.gz
- Upload date:
- Size: 202.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f31bd0ea5d3bf92edebafe85a1dad4a4c3e7a1aa65e701ad9e8faf055e1c6434
|
|
| MD5 |
7338d39a45c0228fab04ffbd2db0cf24
|
|
| BLAKE2b-256 |
59d1f76931b41aec1e6060d824acf112748029569ac25907d8bc1bb00d7d7d4f
|
File details
Details for the file geobenchv2-0.9-py3-none-any.whl.
File metadata
- Download URL: geobenchv2-0.9-py3-none-any.whl
- Upload date:
- Size: 300.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6c9fe895c616522592593fb9c643c195c5ba0d9d730a4225c2bae43a4744e03
|
|
| MD5 |
d10eac4214f86d6ee6db7250b1c99472
|
|
| BLAKE2b-256 |
098868cb4fec4df2527f3eb10ab3c66836fdc5bcab6c5bebffe66b5b6a5a7764
|