geo-eval-harness 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geo_eval_harness-0.5.0/LICENSE +21 -0
- geo_eval_harness-0.5.0/PKG-INFO +298 -0
- geo_eval_harness-0.5.0/README.md +207 -0
- geo_eval_harness-0.5.0/docs/Makefile +15 -0
- geo_eval_harness-0.5.0/docs/api/cli.rst +162 -0
- geo_eval_harness-0.5.0/docs/api/coordbench.rst +60 -0
- geo_eval_harness-0.5.0/docs/api/datasets.rst +116 -0
- geo_eval_harness-0.5.0/docs/api/eval.rst +84 -0
- geo_eval_harness-0.5.0/docs/api/geography.rst +43 -0
- geo_eval_harness-0.5.0/docs/api/index.rst +16 -0
- geo_eval_harness-0.5.0/docs/api/intrinsic_dim.rst +28 -0
- geo_eval_harness-0.5.0/docs/api/models.rst +134 -0
- geo_eval_harness-0.5.0/docs/api/utils.rst +8 -0
- geo_eval_harness-0.5.0/docs/conf.py +203 -0
- geo_eval_harness-0.5.0/docs/examples/__init__.py +1 -0
- geo_eval_harness-0.5.0/docs/examples/bright-post-sar-run.yaml +22 -0
- geo_eval_harness-0.5.0/docs/examples/coord-run.yaml +21 -0
- geo_eval_harness-0.5.0/docs/examples/coordbench_location_encoder.py +42 -0
- geo_eval_harness-0.5.0/docs/examples/flops.yaml +23 -0
- geo_eval_harness-0.5.0/docs/examples/image-run.yaml +87 -0
- geo_eval_harness-0.5.0/docs/examples/levir-cd-post-run.yaml +22 -0
- geo_eval_harness-0.5.0/docs/examples/loveda-run.yaml +23 -0
- geo_eval_harness-0.5.0/docs/examples/openearthmap-sar-run.yaml +23 -0
- geo_eval_harness-0.5.0/docs/examples/oscd-post-run.yaml +23 -0
- geo_eval_harness-0.5.0/docs/examples/profile.yaml +15 -0
- geo_eval_harness-0.5.0/docs/examples/sen1floods11-s1-run.yaml +23 -0
- geo_eval_harness-0.5.0/docs/examples/sen1floods11-s2-run.yaml +23 -0
- geo_eval_harness-0.5.0/docs/examples/tessera-v2-classification.yaml +8 -0
- geo_eval_harness-0.5.0/docs/examples/tessera-v2-lora.yaml +13 -0
- geo_eval_harness-0.5.0/docs/examples/tessera-v2-segmentation.yaml +10 -0
- geo_eval_harness-0.5.0/docs/index.rst +39 -0
- geo_eval_harness-0.5.0/docs/make.bat +36 -0
- geo_eval_harness-0.5.0/docs/user/changelog.rst +90 -0
- geo_eval_harness-0.5.0/docs/user/configuration.rst +509 -0
- geo_eval_harness-0.5.0/docs/user/contribute_dataset.rst +252 -0
- geo_eval_harness-0.5.0/docs/user/contribute_model.rst +229 -0
- geo_eval_harness-0.5.0/docs/user/contributing.rst +165 -0
- geo_eval_harness-0.5.0/docs/user/coordbench.rst +194 -0
- geo_eval_harness-0.5.0/docs/user/datasets.rst +598 -0
- geo_eval_harness-0.5.0/docs/user/eval_own_model.rst +253 -0
- geo_eval_harness-0.5.0/docs/user/glossary.rst +59 -0
- geo_eval_harness-0.5.0/docs/user/index.rst +42 -0
- geo_eval_harness-0.5.0/docs/user/installation.rst +121 -0
- geo_eval_harness-0.5.0/docs/user/methodology.rst +503 -0
- geo_eval_harness-0.5.0/docs/user/models.rst +654 -0
- geo_eval_harness-0.5.0/docs/user/quickstart.rst +164 -0
- geo_eval_harness-0.5.0/docs/user/ranking_explorer.rst +122 -0
- geo_eval_harness-0.5.0/docs/user/results-explorer.rst +40 -0
- geo_eval_harness-0.5.0/docs/user/results-format.rst +252 -0
- geo_eval_harness-0.5.0/docs/user/segmentation-layers.md +175 -0
- geo_eval_harness-0.5.0/docs/user/troubleshooting.rst +62 -0
- geo_eval_harness-0.5.0/pyproject.toml +332 -0
- geo_eval_harness-0.5.0/pyproject.toml.orig +308 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/__init__.py +27 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/__main__.py +6 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/aid.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/benv2.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/bright-post-sar-rgb.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/bright-post-sar.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/burn_scars.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/caffe.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/cloudsen12.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/dynamic_earthnet.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/eurosat-spatial.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/eurosat.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/flair2.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/forestnet.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/fotw.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/hotosm_buildings.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/index.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/infrabench-cls.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/kuro_siwo.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/levir-cd-post.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/loveda.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/m-bigearthnet.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/m-brick-kiln.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/m-eurosat.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/m-forestnet.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/m-pv4ger.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/m-so2sat.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/open_cities.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/openearthmap-sar.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/oscd-post.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/pastis.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/planteur.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/planteur_loio_guadeloupe.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/planteur_loio_guyane.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/planteur_loio_martinique.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/planteur_loio_mayotte.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/planteur_loio_reunion.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/resisc45.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/sen1floods11-s1.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/sen1floods11-s2.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/so2sat.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/spacenet2.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/spacenet7.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/treesatai.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/_static/_dataset_geography/ucmerced.json +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/bands.py +48 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/boundary_iou.py +81 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/calibration.py +146 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/aid.sha256 +4 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/bright_post_sar.sha256 +2 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/coordbench.sha256 +40 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/geobench_v1.sha256 +89 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/geobench_v2.sha256 +18 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/hotosm_buildings.sha256 +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/infrabench_cls.sha256 +1 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/olmoearth.sha256 +24 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/open_cities.sha256 +62 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/planteur.sha256 +11 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/sam3.sha256 +2 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/sen1floods11.sha256 +1296 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/tessera_v2.sha256 +4 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/checksums/thor.sha256 +4 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/cli.py +116 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/__init__.py +8 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/__init__.pyi +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_common.py +11 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_config.py +164 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_coord.py +60 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_download.py +42 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_download_runtime.py +8 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_flops.py +72 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_flops_runtime.py +20 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_profile.py +30 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_profile_runtime.py +172 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_run.py +92 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/_run_runtime.py +19 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/coord_arguments.py +45 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/flops_arguments.py +61 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/profile_arguments.py +93 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/commands/run_arguments.py +78 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/compute_cost.py +61 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/__init__.py +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/flops_config.yaml +34 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/__init__.py +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/anysat_base.yaml +53 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/anysat_base_seg.yaml +78 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/climplicit.yaml +5 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/eosfm.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/geoclip.yaml +5 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/handcrafted.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/handcrafted_level1.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/handcrafted_level2.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/handcrafted_level3.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/imagestats.yaml +2 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/mind.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_base.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_large.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_landsat_10m.yaml +11 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_landsat_10m_x150.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_landsat_raw.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_landsat_x100.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_landsat_x143.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_landsat_x150.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_naip_rgb.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_sar_db.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_t1.yaml +11 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_nano_t6.yaml +11 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_tiny.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_1_base.yaml +19 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_1_nano.yaml +19 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_1_tiny.yaml +19 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_base.yaml +20 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_base_landsat_as_s2.yaml +21 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_nano.yaml +20 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_nano_landsat_as_s2.yaml +21 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_small.yaml +20 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_small_landsat_as_s2.yaml +21 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_tiny.yaml +20 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_2_tiny_landsat_as_s2.yaml +21 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_3_base.yaml +22 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_3_base_landsat_as_s2.yaml +23 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_3_base_patch_tokens.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/olmoearth_v1_3_base_student128.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/rcf.yaml +9 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/sam3_encoder.yaml +8 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/satclip.yaml +5 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/sincos.yaml +3 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/sinr.yaml +5 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/smarties/base.yaml +31 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/smarties/large.yaml +31 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terrafm/base_s1.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terrafm/base_s2.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terrafm/base_s2_l1c.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/clay_v1.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/clay_v1_5.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/clay_v1_5_cls.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/clay_v1_cls.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v1_100.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v1_100_cls.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_100_tl.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_100_tl_cls.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_300.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_300_cls.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_300_tl.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_300_tl_cls.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_600.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/prithvi_eo_v2_600_cls.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/terramind_v1_base.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/terramind_v1_base_rgb.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/terramind_v1_base_s1.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/terramind_v1_large.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/terramind_v1_large_rgb.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/terratorch/terramind_v1_large_s1.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/tessera_v2/large.yaml +30 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/tessera_v2/medium.yaml +30 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/tessera_v2/nano.yaml +30 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/tessera_v2/small.yaml +30 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/thor/base.yaml +37 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/thor/large.yaml +37 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/thor/small.yaml +37 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/thor/tiny.yaml +37 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/__init__.py +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_base.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_base_dinov3.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_large.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_large_dinov3.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_small.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_small_dinov3.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_tiny.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnext_tiny_dinov3.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnextv2_base.yaml +6 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/convnextv2_tiny.yaml +6 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/densenet121.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/densenet161.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/densenet169.yaml +6 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/densenet201.yaml +6 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnet_b0.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnet_b1.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnet_b2.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnet_b3.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnet_b4.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnetv2_l.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnetv2_m.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/efficientnetv2_s.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/maxvit_tiny_tf_224.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/mobilenetv3_large_100.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/mobilenetv3_small_100.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/regnetx_002.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/regnetx_008.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/regnety_002.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/regnety_008.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/resnet101.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/resnet152.yaml +6 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/resnet18.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/resnet34.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/resnet50.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vgg16.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vgg19.yaml +12 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/__init__.py +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/deit_base_patch16_224.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/deit_small_patch16_224.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/deit_tiny_patch16_224.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swin_base_patch4_window7_224.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swin_large_patch4_window7_224.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swin_small_patch4_window7_224.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swin_tiny_patch4_window7_224.yaml +13 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swinv2_base_window12to16_192to256.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swinv2_base_window8_256.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swinv2_large_window12to16_192to256.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swinv2_small_window8_256.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/swinv2_tiny_window8_256.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/vit_base_patch16_224.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/vit_large_patch16_224.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/vit_large_patch16_dinov3.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/vit_large_patch16_dinov3sat.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/vit_small_patch16_224.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/vit/vit_tiny_patch16_224.yaml +7 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/timm/wide_resnet50_2.yaml +6 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/__init__.py +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/croma_base.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/croma_large.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/deo_rgb.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/deo_s2.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/dofa_base.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/dofa_large.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/earthloc_s2_resnet50.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/panopticon.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet152_s2ms_satlas_si.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet152_s2rgb_satlas_mi.yaml +26 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet152_s2rgb_satlas_si.yaml +26 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet18_s2rgb_moco.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet18_s2rgb_seco.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet50_fmow_gassl.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet50_s2_all_moco.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet50_s2ms_satlas_si.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet50_s2rgb_moco.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet50_s2rgb_satlas_mi.yaml +26 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet50_s2rgb_satlas_si.yaml +26 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/resnet50_s2rgb_seco.yaml +14 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/scalemae_large_fmow.yaml +76 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/scalemae_large_fmow_cls.yaml +17 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2b_naip_satlas_mi.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2b_naip_satlas_si.yaml +15 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2b_s2ms_satlas_si.yaml +17 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2b_s2rgb_satlas_mi.yaml +27 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2b_s2rgb_satlas_si.yaml +27 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2t_s2ms_satlas_si.yaml +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2t_s2rgb_satlas_mi.yaml +26 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/torchgeo/swinv2t_s2rgb_satlas_si.yaml +26 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/universat_base.yaml +43 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/universat_base_dense.yaml +18 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/conf/model/universat_base_seg.yaml +49 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/config/__init__.py +8 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/config/catalog.py +22 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/config/flops.py +150 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/config/presets.py +182 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/config/profile.py +81 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/config/run.py +124 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/config/schema.py +428 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/__init__.py +18 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/__init__.pyi +47 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/catalog.py +82 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/config.py +92 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/datasets.py +558 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/leaderboard.py +92 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/mind.py +141 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/models.py +341 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/probe.py +281 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/run.py +245 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/coordbench/taxonomy.py +108 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/__init__.py +97 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/_metadata.py +43 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/_transforms.py +19 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/_v1_webdataset.py +181 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/aid.py +112 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/base.py +134 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/benv2.py +62 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/bright_post_sar.py +172 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/burn_scars.py +45 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/caffe.py +46 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/cloudsen12.py +34 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/dynamic_earthnet.py +51 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/eurosat.py +102 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/flair2.py +31 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/forestnet.py +45 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/fotw.py +49 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/geobench_v1.py +189 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/geobench_v2.py +282 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/hotosm_buildings.py +276 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/hotosm_buildings_train_5k.csv.gz +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/infrabench_cls.py +151 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/kuro_siwo.py +64 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/levir_cd_post.py +134 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/loading.py +332 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/loveda.py +135 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/m_bigearthnet.py +83 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/m_brick_kiln.py +42 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/m_eurosat.py +51 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/m_forestnet.py +45 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/m_pv4ger.py +33 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/m_so2sat.py +62 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/open_cities.py +298 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/open_cities_index.csv.gz +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/open_cities_train_10k.csv.gz +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/openearthmap_sar.py +155 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/oscd_post.py +209 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/pastis.py +97 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/planteur.py +339 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/resisc45.py +124 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/sample_cache.py +432 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/sen1floods11.py +196 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/so2sat.py +58 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/spacenet2.py +38 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/spacenet7.py +30 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/splits/bright-post-sar/test.txt +878 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/splits/bright-post-sar/train.txt +2918 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/splits/bright-post-sar/val.txt +450 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/splits/loveda/test.txt +1669 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/splits/loveda/train.txt +2269 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/splits/loveda/val.txt +253 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/treesatai.py +95 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/datasets/ucmerced.py +81 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/devices.py +46 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/download.py +630 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/epoch_metrics.py +71 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/errors.py +16 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/flops_identity.py +88 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/flops_pipeline.py +513 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/flops_segmentation.py +90 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/geography.py +696 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/hub.py +96 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/intrinsic_dim.py +242 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/knn.py +229 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/linear.py +332 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/main.py +1130 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/model_profile.py +361 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/__init__.py +85 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_band_mapping.py +246 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_handcrafted_bands.py +162 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_handcrafted_structure.py +159 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_handcrafted_texture.py +104 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_hub_helpers.py +119 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_input_units.py +130 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_normalization.py +160 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_optional.py +28 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_pooling.py +50 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_seco.py +25 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_tessera.py +101 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/_thor_encoder.py +240 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/anysat.py +634 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/anyup.py +163 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/clay_v15.py +96 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/contrib_template.py +71 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/eosfm.py +316 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/handcrafted.py +146 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/image_stats.py +40 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/interface.py +147 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/olmoearth.py +760 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/rcf.py +323 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/sam3.py +166 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/segmentation_heads.py +789 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/smarties.py +538 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/terrafm.py +509 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/terratorch_models.py +451 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/tessera.py +274 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/tessera_LICENSE.txt +21 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/thor.py +272 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/timm.py +372 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/torchgeo_models.py +1217 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/models/universat.py +534 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/py.typed +0 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/results.py +509 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/resume.py +320 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/segmentation_checkpointing.py +121 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/segmentation_lora.py +187 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/segmentation_probe.py +744 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/segmentation_task.py +1106 -0
- geo_eval_harness-0.5.0/src/geo_eval_harness/utils.py +111 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025–2026 geo-eval-harness Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: geo-eval-harness
|
|
3
|
+
Version: 0.5.0
|
|
4
|
+
Summary: Lightweight benchmarking framework for geospatial models
|
|
5
|
+
Keywords: benchmark,earth observation,foundation models,geospatial,machine learning,remote sensing
|
|
6
|
+
Author: Caleb Robinson, Isaac Corley, Nils Lehmann
|
|
7
|
+
Author-email: Caleb Robinson <calebrob6@gmail.com>, Isaac Corley <isaac.a.corley@gmail.com>, Nils Lehmann <nils.lehmann24@gmail.com>
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: Operating System :: MacOS
|
|
13
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
14
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
15
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
22
|
+
Requires-Dist: einops>=0.8
|
|
23
|
+
Requires-Dist: faissknn[cpu]>=0.4 ; platform_machine != 'x86_64' or sys_platform != 'linux'
|
|
24
|
+
Requires-Dist: faissknn[cuda]>=0.4 ; platform_machine == 'x86_64' and sys_platform == 'linux'
|
|
25
|
+
Requires-Dist: filelock>=3.12
|
|
26
|
+
Requires-Dist: geobenchv2>=0.9
|
|
27
|
+
Requires-Dist: geopandas>=0.14
|
|
28
|
+
Requires-Dist: h5py>=3.8
|
|
29
|
+
Requires-Dist: huggingface-hub>=0.20
|
|
30
|
+
Requires-Dist: lazy-loader>=0.4
|
|
31
|
+
Requires-Dist: numpy>=1.24
|
|
32
|
+
Requires-Dist: pandas>=2
|
|
33
|
+
Requires-Dist: pillow>=13
|
|
34
|
+
Requires-Dist: pyarrow>=14
|
|
35
|
+
Requires-Dist: pydantic>=2.10
|
|
36
|
+
Requires-Dist: pyyaml>=6.0.1
|
|
37
|
+
Requires-Dist: rasterio>=1.3
|
|
38
|
+
Requires-Dist: safetensors>=0.4
|
|
39
|
+
Requires-Dist: scikit-learn>=1.4.2
|
|
40
|
+
Requires-Dist: shapely>=2.0.4
|
|
41
|
+
Requires-Dist: timm>=1.0.20
|
|
42
|
+
Requires-Dist: torch>=2.6
|
|
43
|
+
Requires-Dist: torchgeo>=0.10.1,<0.11
|
|
44
|
+
Requires-Dist: torchmetrics>=1.4
|
|
45
|
+
Requires-Dist: torchvision>=0.21
|
|
46
|
+
Requires-Dist: tqdm>=4.66
|
|
47
|
+
Requires-Dist: transformers[torch]>=5.14
|
|
48
|
+
Requires-Dist: geo-eval-harness[coordbench] ; extra == 'all'
|
|
49
|
+
Requires-Dist: geo-eval-harness[dev] ; extra == 'all'
|
|
50
|
+
Requires-Dist: geo-eval-harness[docs] ; extra == 'all'
|
|
51
|
+
Requires-Dist: geo-eval-harness[id] ; extra == 'all'
|
|
52
|
+
Requires-Dist: geo-eval-harness[lora] ; extra == 'all'
|
|
53
|
+
Requires-Dist: geo-eval-harness[olmoearth] ; extra == 'all'
|
|
54
|
+
Requires-Dist: rshf>=0.2 ; extra == 'coordbench'
|
|
55
|
+
Requires-Dist: evaluma>=0.3 ; extra == 'dev'
|
|
56
|
+
Requires-Dist: geo-eval-harness[lora] ; extra == 'dev'
|
|
57
|
+
Requires-Dist: mdformat>=0.7.22 ; extra == 'dev'
|
|
58
|
+
Requires-Dist: pre-commit>=4.3 ; extra == 'dev'
|
|
59
|
+
Requires-Dist: pyproject-fmt>=2.21 ; extra == 'dev'
|
|
60
|
+
Requires-Dist: pyrefly==1.4.1 ; extra == 'dev'
|
|
61
|
+
Requires-Dist: pytest>=8.2 ; extra == 'dev'
|
|
62
|
+
Requires-Dist: pytest-cov>=7 ; extra == 'dev'
|
|
63
|
+
Requires-Dist: pytest-xdist>=3.6 ; extra == 'dev'
|
|
64
|
+
Requires-Dist: ruff==0.15.10 ; extra == 'dev'
|
|
65
|
+
Requires-Dist: ty>=0.0.21 ; extra == 'dev'
|
|
66
|
+
Requires-Dist: types-pyyaml>=6 ; extra == 'dev'
|
|
67
|
+
Requires-Dist: vulture>=2.16 ; extra == 'dev'
|
|
68
|
+
Requires-Dist: linkify-it-py>=2 ; extra == 'docs'
|
|
69
|
+
Requires-Dist: myst-parser>=2 ; extra == 'docs'
|
|
70
|
+
Requires-Dist: pydata-sphinx-theme>=0.15 ; extra == 'docs'
|
|
71
|
+
Requires-Dist: sphinx>=7 ; extra == 'docs'
|
|
72
|
+
Requires-Dist: sphinx-copybutton>=0.5 ; extra == 'docs'
|
|
73
|
+
Requires-Dist: sphinx-design>=0.5 ; extra == 'docs'
|
|
74
|
+
Requires-Dist: torchid>=0.3 ; python_full_version >= '3.13' and extra == 'id'
|
|
75
|
+
Requires-Dist: peft>=0.21 ; extra == 'lora'
|
|
76
|
+
Requires-Dist: olmoearth-pretrain-minimal>=0.1.5 ; extra == 'olmoearth'
|
|
77
|
+
Requires-Python: >=3.12
|
|
78
|
+
Project-URL: Changelog, https://torchgeo.org/geo-eval-harness/user/changelog.html
|
|
79
|
+
Project-URL: Documentation, https://torchgeo.org/geo-eval-harness/
|
|
80
|
+
Project-URL: Homepage, https://github.com/torchgeo/geo-eval-harness
|
|
81
|
+
Project-URL: Issues, https://github.com/torchgeo/geo-eval-harness/issues
|
|
82
|
+
Project-URL: Repository, https://github.com/torchgeo/geo-eval-harness
|
|
83
|
+
Provides-Extra: all
|
|
84
|
+
Provides-Extra: coordbench
|
|
85
|
+
Provides-Extra: dev
|
|
86
|
+
Provides-Extra: docs
|
|
87
|
+
Provides-Extra: id
|
|
88
|
+
Provides-Extra: lora
|
|
89
|
+
Provides-Extra: olmoearth
|
|
90
|
+
Description-Content-Type: text/markdown
|
|
91
|
+
|
|
92
|
+
# geo-eval-harness
|
|
93
|
+
|
|
94
|
+
[](https://github.com/torchgeo/geo-eval-harness/actions/workflows/ci.yaml)
|
|
95
|
+
[](https://codecov.io/gh/torchgeo/geo-eval-harness)
|
|
96
|
+
[](https://pypi.org/project/geo-eval-harness/)
|
|
97
|
+
[](https://pypi.org/project/geo-eval-harness/)
|
|
98
|
+
[](https://github.com/torchgeo/geo-eval-harness/blob/main/LICENSE)
|
|
99
|
+
|
|
100
|
+
Evaluate geospatial image models and location encoders with classification, segmentation, and coordinate prediction tasks. Configure runs with CLI flags or validated YAML.
|
|
101
|
+
|
|
102
|
+
- Image classification uses frozen embeddings with KNN-5 or logistic regression.
|
|
103
|
+
- Segmentation supports frozen backbones, LoRA, and full fine-tuning with linear, convolutional, FPN, DPT, UPerNet, and U-Net heads.
|
|
104
|
+
- CoordBench evaluates location encoders with random, spatial-block, and official holdouts.
|
|
105
|
+
- Runs append results to CSV files. `--resume` skips completed evaluations with matching configurations.
|
|
106
|
+
- Custom image models implement `BenchModel._forward_patch_features`; custom location encoders implement `LocationEncoder._encode`. See the [custom model guide](https://torchgeo.org/geo-eval-harness/user/eval_own_model.html) and [contribution guide](https://torchgeo.org/geo-eval-harness/user/contribute_model.html).
|
|
107
|
+
|
|
108
|
+
## Installation
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
pip install geo-eval-harness
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
For development:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
git clone https://github.com/torchgeo/geo-eval-harness
|
|
118
|
+
cd geo-eval-harness
|
|
119
|
+
uv sync --extra dev
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Requires Python 3.12+ and runs on **Linux**, **macOS**, and **Windows**. On
|
|
123
|
+
Linux x86_64 the install automatically includes GPU-accelerated FAISS KNN
|
|
124
|
+
(CUDA 12, driver R525+, also works on GPU-less machines); other platforms get
|
|
125
|
+
CPU FAISS.
|
|
126
|
+
|
|
127
|
+
The Python package is `geo_eval_harness`; use `import geo_eval_harness` and `python -m geo_eval_harness`. TerraTorch models require the separate [source installation](https://torchgeo.org/geo-eval-harness/user/installation.html#terratorch-models).
|
|
128
|
+
|
|
129
|
+
## Download a dataset
|
|
130
|
+
|
|
131
|
+
The runner expects datasets under `./data/`. To grab GeoBench V1:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
geo-eval-harness download geobench_v1
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
To download only the datasets needed for a run:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
geo-eval-harness download geobench_v1 --datasets m-eurosat
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
V1 uses the [JSON-metadata mirror](https://huggingface.co/datasets/calebrob6/geobenchv1-webdataset) under `data/classification_v1.0_wds/`, with a pinned revision and archive SHA-256 verification.
|
|
144
|
+
|
|
145
|
+
Download GeoBench V2 or an individual dataset by its catalog name:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
geo-eval-harness download geobench_v2
|
|
149
|
+
geo-eval-harness download eurosat
|
|
150
|
+
geo-eval-harness download openearthmap-sar
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Hugging Face archive downloads use pinned commits and SHA-256 manifests in [`src/geo_eval_harness/checksums/`](https://github.com/torchgeo/geo-eval-harness/tree/main/src/geo_eval_harness/checksums). See the [dataset guide](https://torchgeo.org/geo-eval-harness/user/datasets.html) for download sources, splits, bands, and licenses.
|
|
154
|
+
|
|
155
|
+
## Run a basic experiment
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
# Inspect available presets and datasets without loading ML dependencies
|
|
159
|
+
geo-eval-harness models
|
|
160
|
+
geo-eval-harness datasets
|
|
161
|
+
|
|
162
|
+
# A single dataset with a pretrained ImageNet ResNet-50
|
|
163
|
+
geo-eval-harness run --model timm/resnet50 --dataset m-eurosat
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
The default device is `cuda:0`. Select CPU with `--device cpu`:
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
geo-eval-harness run --model rcf --dataset m-eurosat --device cpu
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
Results are appended to `results/models/<model name>.csv`. The repository includes reference results; installing the package does not download them. Use `--output results/my_run.csv` or `output.file` in YAML to select a separate file. Re-run with `--resume` to skip completed rows whose configuration matches. Each evaluation is saved as it finishes.
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
# Linear-only probing, with explicit flags overriding the YAML
|
|
176
|
+
geo-eval-harness run --config docs/examples/image-run.yaml --methods linear --device cpu
|
|
177
|
+
|
|
178
|
+
# Validate selections without loading a model or dataset
|
|
179
|
+
geo-eval-harness run --model rcf --dataset m-eurosat --dry-run
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
The `docs/examples/` paths refer to a repository checkout. For an installed package, save a linked example locally and pass its path to `--config`. See [`image-run.yaml`](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/image-run.yaml) for an image configuration and `run --config-help` for the JSON schema. Omitted settings inherit
|
|
183
|
+
model and dataset defaults; explicit YAML values override them, and supplied
|
|
184
|
+
flags override YAML. This includes explicit `false`, `null`, and `[]`.
|
|
185
|
+
|
|
186
|
+
`geo-eval-harness`, `python -m geo_eval_harness`, and `python -m geo_eval_harness.cli` expose the same commands.
|
|
187
|
+
|
|
188
|
+
## Measure encoder cost
|
|
189
|
+
|
|
190
|
+
The standalone `profile` command measures one fixed **real dataset batch** and writes JSON to stdout by default. The `flops` command uses **synthetic inputs**, does not load dataset samples, and appends compute measurements to a CSV:
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
geo-eval-harness profile --model rcf --dataset m-eurosat --device cpu \
|
|
194
|
+
--batch-size 8 --warmup 1 --measurements 5 > profile.json
|
|
195
|
+
|
|
196
|
+
geo-eval-harness flops --model rcf --device cpu --band-configs rgb \
|
|
197
|
+
--seg-heads --output results/my_compute_cost.csv
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
`run`, `flops`, `coord`, and `profile` share `--output-dir` for a common output root and `--output` for an exact file path that takes precedence. Image runs retain their `models/`, `profiles/`, and `intrinsic_dim/` subdirectories. Standalone profiling writes `profile.json` beneath an explicit output root.
|
|
201
|
+
|
|
202
|
+
Both accept `--config` and `--dry-run`. See
|
|
203
|
+
[`docs/examples/profile.yaml`](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/profile.yaml),
|
|
204
|
+
[`docs/examples/flops.yaml`](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/flops.yaml), and the
|
|
205
|
+
[configuration reference](https://torchgeo.org/geo-eval-harness/user/configuration.html).
|
|
206
|
+
Optional `profile` and `intrinsic_dim` passes within an image run retain their
|
|
207
|
+
separate per-model CSVs unless `output.file` explicitly combines them.
|
|
208
|
+
|
|
209
|
+
## Handcrafted classification baseline
|
|
210
|
+
|
|
211
|
+
The handcrafted model adds deterministic spectral and spatial measurements to the ImageStats baseline. The `handcrafted_level1`, `handcrafted_level2`, and `handcrafted_level3` presets select cumulative feature sets; `handcrafted` defaults to level 2. Feature width depends on the input bands and available spectral indices.
|
|
212
|
+
|
|
213
|
+
Download the classification datasets and run the level sweep from this checkout:
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
python -m geo_eval_harness download geobench_v1
|
|
217
|
+
python -m geo_eval_harness download geobench_v2 --datasets benv2,treesatai,so2sat,forestnet
|
|
218
|
+
python -m geo_eval_harness download eurosat
|
|
219
|
+
python -m geo_eval_harness download resisc45
|
|
220
|
+
python -m geo_eval_harness download aid
|
|
221
|
+
python experiments/run_handcrafted.py
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
The sweep includes ImageStats as level 0 and every classification protocol in the current dataset catalog, including AID, multilabel datasets and EuroSAT's spatial split. It uses all bands with identity input normalization, with 224-pixel resizing, KNN-5, validation-selected C, train-plus-validation final refit, and 200 bootstrap draws.
|
|
225
|
+
|
|
226
|
+
The sweep writes to `results/models/handcrafted_level*.csv` and a local `imagestats_handcrafted_control.csv` control file (the committed reference results in `results/models/` keep `handcrafted_level{1,2,3}.csv` alongside `imagestats.csv`). Feature lists and completion status are saved under `outputs/handcrafted/`. Resume skips matching completed rows; a missing linear or KNN result is reported as a failure. Summaries, including `--report-only`, select rows matching the requested configuration and devices. Use `--output-dir results/handcrafted-current` to keep a sweep separate.
|
|
227
|
+
|
|
228
|
+
Use `--levels 1 2`, `--datasets eurosat resisc45`, or `--dry-run` for a smaller run. The extractor also works through the normal CLI:
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
python -m geo_eval_harness run --model handcrafted_level2 \
|
|
232
|
+
--dataset eurosat --bands all --normalization none
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
All four presets default to all bands and identity normalization. Custom YAML can set `model: {name: handcrafted, kwargs: {level: 3}}`; preprocessing belongs under `input`, not constructor kwargs.
|
|
236
|
+
|
|
237
|
+
## CoordBench — location encoders
|
|
238
|
+
|
|
239
|
+
`geo-eval-harness coord` runs the **coordinate-only** track: point
|
|
240
|
+
`(lon, lat)` in, a downstream label out. Benchmarks are streamed directly from
|
|
241
|
+
the unified [`taylor-geospatial/coordbench`](https://huggingface.co/datasets/taylor-geospatial/coordbench)
|
|
242
|
+
HuggingFace dataset (PDFM, SatCLIP, SustainBench, CDC PLACES, MOSAIKS/USAVars,
|
|
243
|
+
the DeepMind/AlphaEarth suite, and more — no local download). A frozen encoder
|
|
244
|
+
is probed with **KNN** and a **ridge linear** head under **random** or
|
|
245
|
+
**spatial-block** cross-validation (regression → R², classification → accuracy).
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
# MIND on the full suite, using random and spatial cross-validation
|
|
249
|
+
geo-eval-harness coord --model mind --dataset all --split both
|
|
250
|
+
|
|
251
|
+
# One dataset family with the sine/cosine baseline and a linear probe
|
|
252
|
+
geo-eval-harness coord --model sincos --dataset pdfm --methods linear
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
`--model mind` ([MIND](https://huggingface.co/taylor-geospatial/MIND),
|
|
256
|
+
distilled from AlphaEarth/Climplicit/GeoCLIP/SINR) and `--model sincos` work with
|
|
257
|
+
the base install. The other pretrained encoders (SatCLIP / GeoCLIP / Climplicit /
|
|
258
|
+
SINR, via `rshf`) need the `coordbench` extra:
|
|
259
|
+
`pip install "geo-eval-harness[coordbench]"`,
|
|
260
|
+
then `--model climplicit` (etc.). Results land in
|
|
261
|
+
`results/coordbench_results.csv`. Add your own encoder by subclassing
|
|
262
|
+
`LocationEncoder` (implement `_encode`) and setting `model.target` to its
|
|
263
|
+
importable Python name, with constructor options under `model.kwargs`. See the
|
|
264
|
+
[CoordBench guide](https://torchgeo.org/geo-eval-harness/user/coordbench.html)
|
|
265
|
+
and the runnable
|
|
266
|
+
[`FourierLocationEncoder` example](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/coordbench_location_encoder.py).
|
|
267
|
+
|
|
268
|
+
<!-- skip-on-docs-landing-start -->
|
|
269
|
+
|
|
270
|
+
## Learn more
|
|
271
|
+
|
|
272
|
+
- **[Documentation](https://torchgeo.org/geo-eval-harness/)** — full
|
|
273
|
+
configuration reference, available models, dataset tables, multi-band
|
|
274
|
+
experiments, evaluation methodology, output schema, dev / release
|
|
275
|
+
workflow, and troubleshooting.
|
|
276
|
+
- **[AGENTS.md](https://github.com/torchgeo/geo-eval-harness/blob/main/AGENTS.md)**
|
|
277
|
+
— contributor guide and house style.
|
|
278
|
+
- **[Cleanlab analysis](https://github.com/torchgeo/geo-eval-harness/blob/main/experiments/cleanlab/README.md)** — standalone dataset auditing, probability extraction, and review galleries, with separate dependencies.
|
|
279
|
+
|
|
280
|
+
<!-- skip-on-docs-landing-end -->
|
|
281
|
+
|
|
282
|
+
## Citation
|
|
283
|
+
|
|
284
|
+
To cite the software:
|
|
285
|
+
|
|
286
|
+
```bibtex
|
|
287
|
+
@misc{geoevalharness,
|
|
288
|
+
title = {geo-eval-harness: A lightweight benchmarking framework for geospatial foundation models},
|
|
289
|
+
author = {geo-eval-harness Contributors},
|
|
290
|
+
year = {2026},
|
|
291
|
+
note = {Software},
|
|
292
|
+
url = {https://github.com/torchgeo/geo-eval-harness}
|
|
293
|
+
}
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
## License
|
|
297
|
+
|
|
298
|
+
[MIT](https://github.com/torchgeo/geo-eval-harness/blob/main/LICENSE).
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
# geo-eval-harness
|
|
2
|
+
|
|
3
|
+
[](https://github.com/torchgeo/geo-eval-harness/actions/workflows/ci.yaml)
|
|
4
|
+
[](https://codecov.io/gh/torchgeo/geo-eval-harness)
|
|
5
|
+
[](https://pypi.org/project/geo-eval-harness/)
|
|
6
|
+
[](https://pypi.org/project/geo-eval-harness/)
|
|
7
|
+
[](https://github.com/torchgeo/geo-eval-harness/blob/main/LICENSE)
|
|
8
|
+
|
|
9
|
+
Evaluate geospatial image models and location encoders with classification, segmentation, and coordinate prediction tasks. Configure runs with CLI flags or validated YAML.
|
|
10
|
+
|
|
11
|
+
- Image classification uses frozen embeddings with KNN-5 or logistic regression.
|
|
12
|
+
- Segmentation supports frozen backbones, LoRA, and full fine-tuning with linear, convolutional, FPN, DPT, UPerNet, and U-Net heads.
|
|
13
|
+
- CoordBench evaluates location encoders with random, spatial-block, and official holdouts.
|
|
14
|
+
- Runs append results to CSV files. `--resume` skips completed evaluations with matching configurations.
|
|
15
|
+
- Custom image models implement `BenchModel._forward_patch_features`; custom location encoders implement `LocationEncoder._encode`. See the [custom model guide](https://torchgeo.org/geo-eval-harness/user/eval_own_model.html) and [contribution guide](https://torchgeo.org/geo-eval-harness/user/contribute_model.html).
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pip install geo-eval-harness
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
For development:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
git clone https://github.com/torchgeo/geo-eval-harness
|
|
27
|
+
cd geo-eval-harness
|
|
28
|
+
uv sync --extra dev
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Requires Python 3.12+ and runs on **Linux**, **macOS**, and **Windows**. On
|
|
32
|
+
Linux x86_64 the install automatically includes GPU-accelerated FAISS KNN
|
|
33
|
+
(CUDA 12, driver R525+, also works on GPU-less machines); other platforms get
|
|
34
|
+
CPU FAISS.
|
|
35
|
+
|
|
36
|
+
The Python package is `geo_eval_harness`; use `import geo_eval_harness` and `python -m geo_eval_harness`. TerraTorch models require the separate [source installation](https://torchgeo.org/geo-eval-harness/user/installation.html#terratorch-models).
|
|
37
|
+
|
|
38
|
+
## Download a dataset
|
|
39
|
+
|
|
40
|
+
The runner expects datasets under `./data/`. To grab GeoBench V1:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
geo-eval-harness download geobench_v1
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
To download only the datasets needed for a run:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
geo-eval-harness download geobench_v1 --datasets m-eurosat
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
V1 uses the [JSON-metadata mirror](https://huggingface.co/datasets/calebrob6/geobenchv1-webdataset) under `data/classification_v1.0_wds/`, with a pinned revision and archive SHA-256 verification.
|
|
53
|
+
|
|
54
|
+
Download GeoBench V2 or an individual dataset by its catalog name:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
geo-eval-harness download geobench_v2
|
|
58
|
+
geo-eval-harness download eurosat
|
|
59
|
+
geo-eval-harness download openearthmap-sar
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Hugging Face archive downloads use pinned commits and SHA-256 manifests in [`src/geo_eval_harness/checksums/`](https://github.com/torchgeo/geo-eval-harness/tree/main/src/geo_eval_harness/checksums). See the [dataset guide](https://torchgeo.org/geo-eval-harness/user/datasets.html) for download sources, splits, bands, and licenses.
|
|
63
|
+
|
|
64
|
+
## Run a basic experiment
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# Inspect available presets and datasets without loading ML dependencies
|
|
68
|
+
geo-eval-harness models
|
|
69
|
+
geo-eval-harness datasets
|
|
70
|
+
|
|
71
|
+
# A single dataset with a pretrained ImageNet ResNet-50
|
|
72
|
+
geo-eval-harness run --model timm/resnet50 --dataset m-eurosat
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
The default device is `cuda:0`. Select CPU with `--device cpu`:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
geo-eval-harness run --model rcf --dataset m-eurosat --device cpu
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Results are appended to `results/models/<model name>.csv`. The repository includes reference results; installing the package does not download them. Use `--output results/my_run.csv` or `output.file` in YAML to select a separate file. Re-run with `--resume` to skip completed rows whose configuration matches. Each evaluation is saved as it finishes.
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# Linear-only probing, with explicit flags overriding the YAML
|
|
85
|
+
geo-eval-harness run --config docs/examples/image-run.yaml --methods linear --device cpu
|
|
86
|
+
|
|
87
|
+
# Validate selections without loading a model or dataset
|
|
88
|
+
geo-eval-harness run --model rcf --dataset m-eurosat --dry-run
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
The `docs/examples/` paths refer to a repository checkout. For an installed package, save a linked example locally and pass its path to `--config`. See [`image-run.yaml`](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/image-run.yaml) for an image configuration and `run --config-help` for the JSON schema. Omitted settings inherit
|
|
92
|
+
model and dataset defaults; explicit YAML values override them, and supplied
|
|
93
|
+
flags override YAML. This includes explicit `false`, `null`, and `[]`.
|
|
94
|
+
|
|
95
|
+
`geo-eval-harness`, `python -m geo_eval_harness`, and `python -m geo_eval_harness.cli` expose the same commands.
|
|
96
|
+
|
|
97
|
+
## Measure encoder cost
|
|
98
|
+
|
|
99
|
+
The standalone `profile` command measures one fixed **real dataset batch** and writes JSON to stdout by default. The `flops` command uses **synthetic inputs**, does not load dataset samples, and appends compute measurements to a CSV:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
geo-eval-harness profile --model rcf --dataset m-eurosat --device cpu \
|
|
103
|
+
--batch-size 8 --warmup 1 --measurements 5 > profile.json
|
|
104
|
+
|
|
105
|
+
geo-eval-harness flops --model rcf --device cpu --band-configs rgb \
|
|
106
|
+
--seg-heads --output results/my_compute_cost.csv
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
`run`, `flops`, `coord`, and `profile` share `--output-dir` for a common output root and `--output` for an exact file path that takes precedence. Image runs retain their `models/`, `profiles/`, and `intrinsic_dim/` subdirectories. Standalone profiling writes `profile.json` beneath an explicit output root.
|
|
110
|
+
|
|
111
|
+
Both accept `--config` and `--dry-run`. See
|
|
112
|
+
[`docs/examples/profile.yaml`](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/profile.yaml),
|
|
113
|
+
[`docs/examples/flops.yaml`](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/flops.yaml), and the
|
|
114
|
+
[configuration reference](https://torchgeo.org/geo-eval-harness/user/configuration.html).
|
|
115
|
+
Optional `profile` and `intrinsic_dim` passes within an image run retain their
|
|
116
|
+
separate per-model CSVs unless `output.file` explicitly combines them.
|
|
117
|
+
|
|
118
|
+
## Handcrafted classification baseline
|
|
119
|
+
|
|
120
|
+
The handcrafted model adds deterministic spectral and spatial measurements to the ImageStats baseline. The `handcrafted_level1`, `handcrafted_level2`, and `handcrafted_level3` presets select cumulative feature sets; `handcrafted` defaults to level 2. Feature width depends on the input bands and available spectral indices.
|
|
121
|
+
|
|
122
|
+
Download the classification datasets and run the level sweep from this checkout:
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
python -m geo_eval_harness download geobench_v1
|
|
126
|
+
python -m geo_eval_harness download geobench_v2 --datasets benv2,treesatai,so2sat,forestnet
|
|
127
|
+
python -m geo_eval_harness download eurosat
|
|
128
|
+
python -m geo_eval_harness download resisc45
|
|
129
|
+
python -m geo_eval_harness download aid
|
|
130
|
+
python experiments/run_handcrafted.py
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
The sweep includes ImageStats as level 0 and every classification protocol in the current dataset catalog, including AID, multilabel datasets and EuroSAT's spatial split. It uses all bands with identity input normalization, with 224-pixel resizing, KNN-5, validation-selected C, train-plus-validation final refit, and 200 bootstrap draws.
|
|
134
|
+
|
|
135
|
+
The sweep writes to `results/models/handcrafted_level*.csv` and a local `imagestats_handcrafted_control.csv` control file (the committed reference results in `results/models/` keep `handcrafted_level{1,2,3}.csv` alongside `imagestats.csv`). Feature lists and completion status are saved under `outputs/handcrafted/`. Resume skips matching completed rows; a missing linear or KNN result is reported as a failure. Summaries, including `--report-only`, select rows matching the requested configuration and devices. Use `--output-dir results/handcrafted-current` to keep a sweep separate.
|
|
136
|
+
|
|
137
|
+
Use `--levels 1 2`, `--datasets eurosat resisc45`, or `--dry-run` for a smaller run. The extractor also works through the normal CLI:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
python -m geo_eval_harness run --model handcrafted_level2 \
|
|
141
|
+
--dataset eurosat --bands all --normalization none
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
All four presets default to all bands and identity normalization. Custom YAML can set `model: {name: handcrafted, kwargs: {level: 3}}`; preprocessing belongs under `input`, not constructor kwargs.
|
|
145
|
+
|
|
146
|
+
## CoordBench — location encoders
|
|
147
|
+
|
|
148
|
+
`geo-eval-harness coord` runs the **coordinate-only** track: point
|
|
149
|
+
`(lon, lat)` in, a downstream label out. Benchmarks are streamed directly from
|
|
150
|
+
the unified [`taylor-geospatial/coordbench`](https://huggingface.co/datasets/taylor-geospatial/coordbench)
|
|
151
|
+
HuggingFace dataset (PDFM, SatCLIP, SustainBench, CDC PLACES, MOSAIKS/USAVars,
|
|
152
|
+
the DeepMind/AlphaEarth suite, and more — no local download). A frozen encoder
|
|
153
|
+
is probed with **KNN** and a **ridge linear** head under **random** or
|
|
154
|
+
**spatial-block** cross-validation (regression → R², classification → accuracy).
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
# MIND on the full suite, using random and spatial cross-validation
|
|
158
|
+
geo-eval-harness coord --model mind --dataset all --split both
|
|
159
|
+
|
|
160
|
+
# One dataset family with the sine/cosine baseline and a linear probe
|
|
161
|
+
geo-eval-harness coord --model sincos --dataset pdfm --methods linear
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
`--model mind` ([MIND](https://huggingface.co/taylor-geospatial/MIND),
|
|
165
|
+
distilled from AlphaEarth/Climplicit/GeoCLIP/SINR) and `--model sincos` work with
|
|
166
|
+
the base install. The other pretrained encoders (SatCLIP / GeoCLIP / Climplicit /
|
|
167
|
+
SINR, via `rshf`) need the `coordbench` extra:
|
|
168
|
+
`pip install "geo-eval-harness[coordbench]"`,
|
|
169
|
+
then `--model climplicit` (etc.). Results land in
|
|
170
|
+
`results/coordbench_results.csv`. Add your own encoder by subclassing
|
|
171
|
+
`LocationEncoder` (implement `_encode`) and setting `model.target` to its
|
|
172
|
+
importable Python name, with constructor options under `model.kwargs`. See the
|
|
173
|
+
[CoordBench guide](https://torchgeo.org/geo-eval-harness/user/coordbench.html)
|
|
174
|
+
and the runnable
|
|
175
|
+
[`FourierLocationEncoder` example](https://github.com/torchgeo/geo-eval-harness/blob/main/docs/examples/coordbench_location_encoder.py).
|
|
176
|
+
|
|
177
|
+
<!-- skip-on-docs-landing-start -->
|
|
178
|
+
|
|
179
|
+
## Learn more
|
|
180
|
+
|
|
181
|
+
- **[Documentation](https://torchgeo.org/geo-eval-harness/)** — full
|
|
182
|
+
configuration reference, available models, dataset tables, multi-band
|
|
183
|
+
experiments, evaluation methodology, output schema, dev / release
|
|
184
|
+
workflow, and troubleshooting.
|
|
185
|
+
- **[AGENTS.md](https://github.com/torchgeo/geo-eval-harness/blob/main/AGENTS.md)**
|
|
186
|
+
— contributor guide and house style.
|
|
187
|
+
- **[Cleanlab analysis](https://github.com/torchgeo/geo-eval-harness/blob/main/experiments/cleanlab/README.md)** — standalone dataset auditing, probability extraction, and review galleries, with separate dependencies.
|
|
188
|
+
|
|
189
|
+
<!-- skip-on-docs-landing-end -->
|
|
190
|
+
|
|
191
|
+
## Citation
|
|
192
|
+
|
|
193
|
+
To cite the software:
|
|
194
|
+
|
|
195
|
+
```bibtex
|
|
196
|
+
@misc{geoevalharness,
|
|
197
|
+
title = {geo-eval-harness: A lightweight benchmarking framework for geospatial foundation models},
|
|
198
|
+
author = {geo-eval-harness Contributors},
|
|
199
|
+
year = {2026},
|
|
200
|
+
note = {Software},
|
|
201
|
+
url = {https://github.com/torchgeo/geo-eval-harness}
|
|
202
|
+
}
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## License
|
|
206
|
+
|
|
207
|
+
[MIT](https://github.com/torchgeo/geo-eval-harness/blob/main/LICENSE).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Pass overrides as make arguments; SPHINX_BUILD and SPHINX_BUILD_OPTS also accept environment values.
|
|
2
|
+
SPHINX_BUILD ?= sphinx-build
|
|
3
|
+
SPHINX_BUILD_OPTS ?= -W -j auto --keep-going
|
|
4
|
+
SOURCE_DIR = .
|
|
5
|
+
BUILD_DIR = _build
|
|
6
|
+
|
|
7
|
+
# Keep help as the default target.
|
|
8
|
+
help:
|
|
9
|
+
@$(SPHINX_BUILD) -M help "$(SOURCE_DIR)" "$(BUILD_DIR)" $(SPHINX_BUILD_OPTS)
|
|
10
|
+
|
|
11
|
+
.PHONY: help Makefile
|
|
12
|
+
|
|
13
|
+
# Let Sphinx handle targets such as html and clean.
|
|
14
|
+
%: Makefile
|
|
15
|
+
@$(SPHINX_BUILD) -M $@ "$(SOURCE_DIR)" "$(BUILD_DIR)" $(SPHINX_BUILD_OPTS)
|