Skip to main content

GEO-Bench 2 (Still under development, stay tuned for full release)!

1-earth huggingface License Language: Python pypi docs

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:

  1. Generate a dataset subset that is sufficient for benchmark purposes and minimal in size to reduce disk space requirements for users.
  2. Generate possible partition sizes for experiments across dataset sizes
  3. 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

Metadata

Release files for GeoBenchV2 0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GeoBenchV2 0.9
File Size Uploaded
geobenchv2-0.9.tar.gz 202.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GeoBenchV2 0.9
File Interpreter ABI Platform
geobenchv2-0.9-py3-none-any.whl Python 3 none any Details

Total release size: 502.5 kB

Release files / geobenchv2-0.9.tar.gz

Download URL geobenchv2-0.9.tar.gz
Size 202.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f31bd0ea5d3bf92edebafe85a1dad4a4c3e7a1aa65e701ad9e8faf055e1c6434
BLAKE2b-256 checksum
How to use checksums
59d1f76931b41aec1e6060d824acf112748029569ac25907d8bc1bb00d7d7d4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / geobenchv2-0.9-py3-none-any.whl

Download URL geobenchv2-0.9-py3-none-any.whl
Size 300.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6c9fe895c616522592593fb9c643c195c5ba0d9d730a4225c2bae43a4744e03
BLAKE2b-256 checksum
How to use checksums
098868cb4fec4df2527f3eb10ab3c66836fdc5bcab6c5bebffe66b5b6a5a7764
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.9 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page