keras-climate 0.1.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.
- keras_climate-0.1.0/PKG-INFO +49 -0
- keras_climate-0.1.0/README.md +37 -0
- keras_climate-0.1.0/keras_climate/__init__.py +16 -0
- keras_climate-0.1.0/keras_climate/datasets/__init__.py +405 -0
- keras_climate-0.1.0/keras_climate/datasets/_test_helpers.py +33 -0
- keras_climate-0.1.0/keras_climate/datasets/advance.py +179 -0
- keras_climate-0.1.0/keras_climate/datasets/agb_live_woody_density.py +139 -0
- keras_climate-0.1.0/keras_climate/datasets/agrifieldnet.py +305 -0
- keras_climate-0.1.0/keras_climate/datasets/air_quality.py +194 -0
- keras_climate-0.1.0/keras_climate/datasets/airphen.py +69 -0
- keras_climate-0.1.0/keras_climate/datasets/astergdem.py +111 -0
- keras_climate-0.1.0/keras_climate/datasets/benin_cashews.py +363 -0
- keras_climate-0.1.0/keras_climate/datasets/bigearthnet.py +812 -0
- keras_climate-0.1.0/keras_climate/datasets/biomassters.py +245 -0
- keras_climate-0.1.0/keras_climate/datasets/bright.py +296 -0
- keras_climate-0.1.0/keras_climate/datasets/cabuar.py +244 -0
- keras_climate-0.1.0/keras_climate/datasets/caffe.py +245 -0
- keras_climate-0.1.0/keras_climate/datasets/cbf.py +144 -0
- keras_climate-0.1.0/keras_climate/datasets/cdl.py +612 -0
- keras_climate-0.1.0/keras_climate/datasets/chabud.py +235 -0
- keras_climate-0.1.0/keras_climate/datasets/chesapeake.py +751 -0
- keras_climate-0.1.0/keras_climate/datasets/clay.py +88 -0
- keras_climate-0.1.0/keras_climate/datasets/cloud_cover.py +174 -0
- keras_climate-0.1.0/keras_climate/datasets/cms_mangrove_canopy.py +271 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/__init__.py +41 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/aq_no2_s5p.py +92 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/aq_o3_s5p.py +92 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/base.py +267 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/bigearthnet_s1.py +94 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/bigearthnet_s2.py +107 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/biomass_s3.py +130 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/cloud_s2.py +69 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/cloud_s3.py +124 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/dfc2020_s1.py +69 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/dfc2020_s2.py +83 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/embed.py +132 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/eurosat_s1.py +56 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/eurosat_s2.py +71 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/flood_s1.py +147 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/lc100cls_s3.py +149 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/lc100seg_s3.py +208 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/lcz_s2.py +142 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/pretrain.py +259 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_aq_no2_s5p.py +84 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_aq_o3_s5p.py +84 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_bigearthnet_s1.py +73 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_bigearthnet_s2.py +74 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_biomass_s3.py +81 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_cloud_s2.py +103 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_cloud_s3.py +90 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_dfc2020_s1.py +84 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_dfc2020_s2.py +84 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_embed.py +64 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_eurosat_s1.py +56 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_eurosat_s2.py +64 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_flood_s1.py +86 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_lc100cls_s3.py +81 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_lc100seg_s3.py +120 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_lcz_s2.py +54 -0
- keras_climate-0.1.0/keras_climate/datasets/copernicus/test_pretrain.py +72 -0
- keras_climate-0.1.0/keras_climate/datasets/cowc.py +240 -0
- keras_climate-0.1.0/keras_climate/datasets/cropharvest.py +249 -0
- keras_climate-0.1.0/keras_climate/datasets/cv4a_kenya_crop_type.py +281 -0
- keras_climate-0.1.0/keras_climate/datasets/cyclone.py +149 -0
- keras_climate-0.1.0/keras_climate/datasets/deepglobelandcover.py +208 -0
- keras_climate-0.1.0/keras_climate/datasets/dfc2022.py +277 -0
- keras_climate-0.1.0/keras_climate/datasets/digital_typhoon.py +355 -0
- keras_climate-0.1.0/keras_climate/datasets/dior.py +305 -0
- keras_climate-0.1.0/keras_climate/datasets/dl4gam.py +353 -0
- keras_climate-0.1.0/keras_climate/datasets/dlrsd.py +367 -0
- keras_climate-0.1.0/keras_climate/datasets/dota.py +432 -0
- keras_climate-0.1.0/keras_climate/datasets/earth_embeddings.py +78 -0
- keras_climate-0.1.0/keras_climate/datasets/earth_index.py +76 -0
- keras_climate-0.1.0/keras_climate/datasets/eddmaps.py +111 -0
- keras_climate-0.1.0/keras_climate/datasets/enmap.py +347 -0
- keras_climate-0.1.0/keras_climate/datasets/enviroatlas.py +400 -0
- keras_climate-0.1.0/keras_climate/datasets/errors.py +47 -0
- keras_climate-0.1.0/keras_climate/datasets/esd.py +162 -0
- keras_climate-0.1.0/keras_climate/datasets/esri2020.py +155 -0
- keras_climate-0.1.0/keras_climate/datasets/etci2021.py +252 -0
- keras_climate-0.1.0/keras_climate/datasets/eudem.py +152 -0
- keras_climate-0.1.0/keras_climate/datasets/eurocrops.py +244 -0
- keras_climate-0.1.0/keras_climate/datasets/eurosat.py +267 -0
- keras_climate-0.1.0/keras_climate/datasets/everwatch.py +239 -0
- keras_climate-0.1.0/keras_climate/datasets/fair1m.py +342 -0
- keras_climate-0.1.0/keras_climate/datasets/fire_risk.py +153 -0
- keras_climate-0.1.0/keras_climate/datasets/flair.py +1736 -0
- keras_climate-0.1.0/keras_climate/datasets/forestdamage.py +252 -0
- keras_climate-0.1.0/keras_climate/datasets/ftw.py +317 -0
- keras_climate-0.1.0/keras_climate/datasets/gbif.py +119 -0
- keras_climate-0.1.0/keras_climate/datasets/gbm.py +49 -0
- keras_climate-0.1.0/keras_climate/datasets/geo.py +1151 -0
- keras_climate-0.1.0/keras_climate/datasets/geonrw.py +306 -0
- keras_climate-0.1.0/keras_climate/datasets/gid15.py +242 -0
- keras_climate-0.1.0/keras_climate/datasets/globalmangrovewatch.py +189 -0
- keras_climate-0.1.0/keras_climate/datasets/globbiomass.py +262 -0
- keras_climate-0.1.0/keras_climate/datasets/gse.py +92 -0
- keras_climate-0.1.0/keras_climate/datasets/hyspecnet.py +213 -0
- keras_climate-0.1.0/keras_climate/datasets/idtrees.py +486 -0
- keras_climate-0.1.0/keras_climate/datasets/inaturalist.py +123 -0
- keras_climate-0.1.0/keras_climate/datasets/inria.py +189 -0
- keras_climate-0.1.0/keras_climate/datasets/iobench.py +176 -0
- keras_climate-0.1.0/keras_climate/datasets/l7irish.py +254 -0
- keras_climate-0.1.0/keras_climate/datasets/l8biome.py +251 -0
- keras_climate-0.1.0/keras_climate/datasets/landcoverai.py +362 -0
- keras_climate-0.1.0/keras_climate/datasets/landsat.py +236 -0
- keras_climate-0.1.0/keras_climate/datasets/levircd.py +256 -0
- keras_climate-0.1.0/keras_climate/datasets/loveda.py +239 -0
- keras_climate-0.1.0/keras_climate/datasets/major_tom.py +83 -0
- keras_climate-0.1.0/keras_climate/datasets/mapinwild.py +309 -0
- keras_climate-0.1.0/keras_climate/datasets/mdas.py +301 -0
- keras_climate-0.1.0/keras_climate/datasets/meta_chm.py +121 -0
- keras_climate-0.1.0/keras_climate/datasets/millionaid.py +306 -0
- keras_climate-0.1.0/keras_climate/datasets/mixins.py +14 -0
- keras_climate-0.1.0/keras_climate/datasets/mmearth.py +594 -0
- keras_climate-0.1.0/keras_climate/datasets/mmflood.py +402 -0
- keras_climate-0.1.0/keras_climate/datasets/naip.py +65 -0
- keras_climate-0.1.0/keras_climate/datasets/nasa_marine_debris.py +176 -0
- keras_climate-0.1.0/keras_climate/datasets/nccm.py +183 -0
- keras_climate-0.1.0/keras_climate/datasets/nlcd.py +527 -0
- keras_climate-0.1.0/keras_climate/datasets/openaerialmap.py +385 -0
- keras_climate-0.1.0/keras_climate/datasets/openbuildings.py +365 -0
- keras_climate-0.1.0/keras_climate/datasets/openstreetmap.py +419 -0
- keras_climate-0.1.0/keras_climate/datasets/oscd.py +338 -0
- keras_climate-0.1.0/keras_climate/datasets/pastis.py +397 -0
- keras_climate-0.1.0/keras_climate/datasets/patternnet.py +116 -0
- keras_climate-0.1.0/keras_climate/datasets/potsdam.py +228 -0
- keras_climate-0.1.0/keras_climate/datasets/presto.py +83 -0
- keras_climate-0.1.0/keras_climate/datasets/prisma.py +75 -0
- keras_climate-0.1.0/keras_climate/datasets/quakeset.py +234 -0
- keras_climate-0.1.0/keras_climate/datasets/reforestree.py +221 -0
- keras_climate-0.1.0/keras_climate/datasets/resisc45.py +156 -0
- keras_climate-0.1.0/keras_climate/datasets/rwanda_field_boundary.py +177 -0
- keras_climate-0.1.0/keras_climate/datasets/s2_100k.py +135 -0
- keras_climate-0.1.0/keras_climate/datasets/satlas.py +698 -0
- keras_climate-0.1.0/keras_climate/datasets/seasonet.py +410 -0
- keras_climate-0.1.0/keras_climate/datasets/seco.py +229 -0
- keras_climate-0.1.0/keras_climate/datasets/sen12ms.py +307 -0
- keras_climate-0.1.0/keras_climate/datasets/sentinel.py +383 -0
- keras_climate-0.1.0/keras_climate/datasets/skippd.py +233 -0
- keras_climate-0.1.0/keras_climate/datasets/skyscript.py +180 -0
- keras_climate-0.1.0/keras_climate/datasets/so2sat.py +284 -0
- keras_climate-0.1.0/keras_climate/datasets/soda.py +326 -0
- keras_climate-0.1.0/keras_climate/datasets/solar_plants_brazil.py +183 -0
- keras_climate-0.1.0/keras_climate/datasets/south_africa_crop_type.py +314 -0
- keras_climate-0.1.0/keras_climate/datasets/south_america_soybean.py +165 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/__init__.py +23 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/base.py +326 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet1.py +74 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet2.py +85 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet3.py +94 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet4.py +119 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet5.py +66 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet6.py +57 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet7.py +63 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/spacenet8.py +45 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet1.py +100 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet2.py +93 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet3.py +90 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet4.py +94 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet5.py +90 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet6.py +108 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet7.py +98 -0
- keras_climate-0.1.0/keras_climate/datasets/spacenet/test_spacenet8.py +92 -0
- keras_climate-0.1.0/keras_climate/datasets/splits.py +259 -0
- keras_climate-0.1.0/keras_climate/datasets/ssl4eo.py +596 -0
- keras_climate-0.1.0/keras_climate/datasets/ssl4eo_benchmark.py +334 -0
- keras_climate-0.1.0/keras_climate/datasets/substation.py +292 -0
- keras_climate-0.1.0/keras_climate/datasets/sustainbench_crop_yield.py +210 -0
- keras_climate-0.1.0/keras_climate/datasets/tessera.py +76 -0
- keras_climate-0.1.0/keras_climate/datasets/test_advance.py +71 -0
- keras_climate-0.1.0/keras_climate/datasets/test_agb_live_woody_density.py +104 -0
- keras_climate-0.1.0/keras_climate/datasets/test_agrifieldnet.py +117 -0
- keras_climate-0.1.0/keras_climate/datasets/test_air_quality.py +72 -0
- keras_climate-0.1.0/keras_climate/datasets/test_airphen.py +67 -0
- keras_climate-0.1.0/keras_climate/datasets/test_astergdem.py +76 -0
- keras_climate-0.1.0/keras_climate/datasets/test_benin_cashews.py +104 -0
- keras_climate-0.1.0/keras_climate/datasets/test_bigearthnet.py +205 -0
- keras_climate-0.1.0/keras_climate/datasets/test_biomassters.py +148 -0
- keras_climate-0.1.0/keras_climate/datasets/test_bright.py +115 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cabuar.py +93 -0
- keras_climate-0.1.0/keras_climate/datasets/test_caffe.py +81 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cbf.py +89 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cdl.py +97 -0
- keras_climate-0.1.0/keras_climate/datasets/test_chabud.py +84 -0
- keras_climate-0.1.0/keras_climate/datasets/test_chesapeake.py +223 -0
- keras_climate-0.1.0/keras_climate/datasets/test_clay.py +62 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cloud_cover.py +114 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cms_mangrove_canopy.py +91 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cowc.py +94 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cropharvest.py +94 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cv4a_kenya_crop_type.py +75 -0
- keras_climate-0.1.0/keras_climate/datasets/test_cyclone.py +77 -0
- keras_climate-0.1.0/keras_climate/datasets/test_deepglobelandcover.py +72 -0
- keras_climate-0.1.0/keras_climate/datasets/test_dfc2022.py +92 -0
- keras_climate-0.1.0/keras_climate/datasets/test_digital_typhoon.py +105 -0
- keras_climate-0.1.0/keras_climate/datasets/test_dior.py +98 -0
- keras_climate-0.1.0/keras_climate/datasets/test_dl4gam.py +147 -0
- keras_climate-0.1.0/keras_climate/datasets/test_dlrsd.py +115 -0
- keras_climate-0.1.0/keras_climate/datasets/test_dota.py +100 -0
- keras_climate-0.1.0/keras_climate/datasets/test_earth_embeddings.py +52 -0
- keras_climate-0.1.0/keras_climate/datasets/test_earth_index.py +52 -0
- keras_climate-0.1.0/keras_climate/datasets/test_eddmaps.py +61 -0
- keras_climate-0.1.0/keras_climate/datasets/test_enmap.py +75 -0
- keras_climate-0.1.0/keras_climate/datasets/test_enviroatlas.py +169 -0
- keras_climate-0.1.0/keras_climate/datasets/test_esd.py +84 -0
- keras_climate-0.1.0/keras_climate/datasets/test_esri2020.py +72 -0
- keras_climate-0.1.0/keras_climate/datasets/test_etci2021.py +75 -0
- keras_climate-0.1.0/keras_climate/datasets/test_eudem.py +68 -0
- keras_climate-0.1.0/keras_climate/datasets/test_eurocrops.py +127 -0
- keras_climate-0.1.0/keras_climate/datasets/test_eurosat.py +99 -0
- keras_climate-0.1.0/keras_climate/datasets/test_everwatch.py +68 -0
- keras_climate-0.1.0/keras_climate/datasets/test_fair1m.py +99 -0
- keras_climate-0.1.0/keras_climate/datasets/test_fire_risk.py +54 -0
- keras_climate-0.1.0/keras_climate/datasets/test_flair.py +119 -0
- keras_climate-0.1.0/keras_climate/datasets/test_forestdamage.py +77 -0
- keras_climate-0.1.0/keras_climate/datasets/test_ftw.py +88 -0
- keras_climate-0.1.0/keras_climate/datasets/test_gbif.py +76 -0
- keras_climate-0.1.0/keras_climate/datasets/test_gbm.py +63 -0
- keras_climate-0.1.0/keras_climate/datasets/test_geo.py +396 -0
- keras_climate-0.1.0/keras_climate/datasets/test_geonrw.py +66 -0
- keras_climate-0.1.0/keras_climate/datasets/test_gid15.py +65 -0
- keras_climate-0.1.0/keras_climate/datasets/test_globalmangrovewatch.py +69 -0
- keras_climate-0.1.0/keras_climate/datasets/test_globbiomass.py +68 -0
- keras_climate-0.1.0/keras_climate/datasets/test_gse.py +61 -0
- keras_climate-0.1.0/keras_climate/datasets/test_hyspecnet.py +98 -0
- keras_climate-0.1.0/keras_climate/datasets/test_idtrees.py +162 -0
- keras_climate-0.1.0/keras_climate/datasets/test_inaturalist.py +48 -0
- keras_climate-0.1.0/keras_climate/datasets/test_inria.py +90 -0
- keras_climate-0.1.0/keras_climate/datasets/test_iobench.py +84 -0
- keras_climate-0.1.0/keras_climate/datasets/test_l7irish.py +78 -0
- keras_climate-0.1.0/keras_climate/datasets/test_l8biome.py +80 -0
- keras_climate-0.1.0/keras_climate/datasets/test_landcoverai.py +112 -0
- keras_climate-0.1.0/keras_climate/datasets/test_landsat.py +82 -0
- keras_climate-0.1.0/keras_climate/datasets/test_levircd.py +91 -0
- keras_climate-0.1.0/keras_climate/datasets/test_loveda.py +69 -0
- keras_climate-0.1.0/keras_climate/datasets/test_major_tom.py +64 -0
- keras_climate-0.1.0/keras_climate/datasets/test_mapinwild.py +75 -0
- keras_climate-0.1.0/keras_climate/datasets/test_mdas.py +82 -0
- keras_climate-0.1.0/keras_climate/datasets/test_meta_chm.py +105 -0
- keras_climate-0.1.0/keras_climate/datasets/test_millionaid.py +72 -0
- keras_climate-0.1.0/keras_climate/datasets/test_mmearth.py +177 -0
- keras_climate-0.1.0/keras_climate/datasets/test_mmflood.py +162 -0
- keras_climate-0.1.0/keras_climate/datasets/test_naip.py +62 -0
- keras_climate-0.1.0/keras_climate/datasets/test_nasa_marine_debris.py +75 -0
- keras_climate-0.1.0/keras_climate/datasets/test_nccm.py +73 -0
- keras_climate-0.1.0/keras_climate/datasets/test_nlcd.py +98 -0
- keras_climate-0.1.0/keras_climate/datasets/test_openaerialmap.py +90 -0
- keras_climate-0.1.0/keras_climate/datasets/test_openbuildings.py +100 -0
- keras_climate-0.1.0/keras_climate/datasets/test_openstreetmap.py +106 -0
- keras_climate-0.1.0/keras_climate/datasets/test_oscd.py +90 -0
- keras_climate-0.1.0/keras_climate/datasets/test_pastis.py +123 -0
- keras_climate-0.1.0/keras_climate/datasets/test_patternnet.py +50 -0
- keras_climate-0.1.0/keras_climate/datasets/test_potsdam.py +74 -0
- keras_climate-0.1.0/keras_climate/datasets/test_presto.py +51 -0
- keras_climate-0.1.0/keras_climate/datasets/test_prisma.py +57 -0
- keras_climate-0.1.0/keras_climate/datasets/test_quakeset.py +76 -0
- keras_climate-0.1.0/keras_climate/datasets/test_reforestree.py +66 -0
- keras_climate-0.1.0/keras_climate/datasets/test_resisc45.py +65 -0
- keras_climate-0.1.0/keras_climate/datasets/test_rwanda_field_boundary.py +96 -0
- keras_climate-0.1.0/keras_climate/datasets/test_s2_100k.py +76 -0
- keras_climate-0.1.0/keras_climate/datasets/test_satlas.py +95 -0
- keras_climate-0.1.0/keras_climate/datasets/test_seasonet.py +96 -0
- keras_climate-0.1.0/keras_climate/datasets/test_seco.py +95 -0
- keras_climate-0.1.0/keras_climate/datasets/test_sen12ms.py +106 -0
- keras_climate-0.1.0/keras_climate/datasets/test_sentinel.py +114 -0
- keras_climate-0.1.0/keras_climate/datasets/test_skippd.py +85 -0
- keras_climate-0.1.0/keras_climate/datasets/test_skyscript.py +63 -0
- keras_climate-0.1.0/keras_climate/datasets/test_so2sat.py +85 -0
- keras_climate-0.1.0/keras_climate/datasets/test_soda.py +98 -0
- keras_climate-0.1.0/keras_climate/datasets/test_solar_plants_brazil.py +87 -0
- keras_climate-0.1.0/keras_climate/datasets/test_south_africa_crop_type.py +108 -0
- keras_climate-0.1.0/keras_climate/datasets/test_south_america_soybean.py +57 -0
- keras_climate-0.1.0/keras_climate/datasets/test_splits.py +113 -0
- keras_climate-0.1.0/keras_climate/datasets/test_ssl4eo.py +108 -0
- keras_climate-0.1.0/keras_climate/datasets/test_ssl4eo_benchmark.py +115 -0
- keras_climate-0.1.0/keras_climate/datasets/test_substation.py +88 -0
- keras_climate-0.1.0/keras_climate/datasets/test_sustainbench_crop_yield.py +67 -0
- keras_climate-0.1.0/keras_climate/datasets/test_tessera.py +55 -0
- keras_climate-0.1.0/keras_climate/datasets/test_treesatai.py +89 -0
- keras_climate-0.1.0/keras_climate/datasets/test_ucmerced.py +68 -0
- keras_climate-0.1.0/keras_climate/datasets/test_usavars.py +87 -0
- keras_climate-0.1.0/keras_climate/datasets/test_utils.py +231 -0
- keras_climate-0.1.0/keras_climate/datasets/test_vaihingen.py +64 -0
- keras_climate-0.1.0/keras_climate/datasets/test_vhr10.py +116 -0
- keras_climate-0.1.0/keras_climate/datasets/test_western_usa_live_fuel_moisture.py +66 -0
- keras_climate-0.1.0/keras_climate/datasets/test_worldstrat.py +134 -0
- keras_climate-0.1.0/keras_climate/datasets/test_xbd.py +133 -0
- keras_climate-0.1.0/keras_climate/datasets/test_zuericrop.py +88 -0
- keras_climate-0.1.0/keras_climate/datasets/treesatai.py +275 -0
- keras_climate-0.1.0/keras_climate/datasets/ucmerced.py +194 -0
- keras_climate-0.1.0/keras_climate/datasets/usavars.py +252 -0
- keras_climate-0.1.0/keras_climate/datasets/utils.py +660 -0
- keras_climate-0.1.0/keras_climate/datasets/vaihingen.py +231 -0
- keras_climate-0.1.0/keras_climate/datasets/vhr10.py +305 -0
- keras_climate-0.1.0/keras_climate/datasets/western_usa_live_fuel_moisture.py +358 -0
- keras_climate-0.1.0/keras_climate/datasets/worldstrat.py +347 -0
- keras_climate-0.1.0/keras_climate/datasets/xbd.py +343 -0
- keras_climate-0.1.0/keras_climate/datasets/zuericrop.py +247 -0
- keras_climate-0.1.0/keras_climate/forecasting/__init__.py +28 -0
- keras_climate-0.1.0/keras_climate/forecasting/autoformer.py +193 -0
- keras_climate-0.1.0/keras_climate/forecasting/dlinear.py +61 -0
- keras_climate-0.1.0/keras_climate/forecasting/informer.py +204 -0
- keras_climate-0.1.0/keras_climate/forecasting/nbeats.py +166 -0
- keras_climate-0.1.0/keras_climate/forecasting/patchtst.py +149 -0
- keras_climate-0.1.0/keras_climate/forecasting/test_autoformer.py +299 -0
- keras_climate-0.1.0/keras_climate/forecasting/test_dlinear.py +128 -0
- keras_climate-0.1.0/keras_climate/forecasting/test_informer.py +314 -0
- keras_climate-0.1.0/keras_climate/forecasting/test_nbeats.py +262 -0
- keras_climate-0.1.0/keras_climate/forecasting/test_patchtst.py +236 -0
- keras_climate-0.1.0/keras_climate/forecasting/test_tft.py +274 -0
- keras_climate-0.1.0/keras_climate/forecasting/test_timesnet.py +225 -0
- keras_climate-0.1.0/keras_climate/forecasting/tft.py +156 -0
- keras_climate-0.1.0/keras_climate/forecasting/timesnet.py +110 -0
- keras_climate-0.1.0/keras_climate/foundation/__init__.py +36 -0
- keras_climate-0.1.0/keras_climate/foundation/anysat.py +128 -0
- keras_climate-0.1.0/keras_climate/foundation/anysat_release.py +821 -0
- keras_climate-0.1.0/keras_climate/foundation/clay.py +308 -0
- keras_climate-0.1.0/keras_climate/foundation/croma.py +263 -0
- keras_climate-0.1.0/keras_climate/foundation/prithvi.py +218 -0
- keras_climate-0.1.0/keras_climate/foundation/test_anysat.py +248 -0
- keras_climate-0.1.0/keras_climate/foundation/test_anysat_release.py +550 -0
- keras_climate-0.1.0/keras_climate/foundation/test_clay.py +333 -0
- keras_climate-0.1.0/keras_climate/foundation/test_croma.py +292 -0
- keras_climate-0.1.0/keras_climate/foundation/test_prithvi.py +227 -0
- keras_climate-0.1.0/keras_climate/losses/__init__.py +6 -0
- keras_climate-0.1.0/keras_climate/losses/elects.py +124 -0
- keras_climate-0.1.0/keras_climate/losses/qr.py +58 -0
- keras_climate-0.1.0/keras_climate/losses/test_elects.py +176 -0
- keras_climate-0.1.0/keras_climate/losses/test_qr.py +75 -0
- keras_climate-0.1.0/keras_climate/operators/__init__.py +7 -0
- keras_climate-0.1.0/keras_climate/operators/afno.py +130 -0
- keras_climate-0.1.0/keras_climate/operators/test_afno.py +183 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/__init__.py +40 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/deeplabv3plus.py +140 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/ringmo.py +410 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/satclip.py +115 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/satmae.py +286 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/scalemae.py +132 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/segformer.py +169 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/ssl4eo.py +10 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_deeplabv3plus.py +273 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_ringmo.py +459 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_satclip.py +168 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_satmae.py +278 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_scalemae.py +202 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_segformer.py +300 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_ssl4eo.py +93 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/test_unet.py +166 -0
- keras_climate-0.1.0/keras_climate/remote_sensing/unet.py +49 -0
- keras_climate-0.1.0/keras_climate/samplers/__init__.py +44 -0
- keras_climate-0.1.0/keras_climate/samplers/base.py +298 -0
- keras_climate-0.1.0/keras_climate/samplers/batch.py +150 -0
- keras_climate-0.1.0/keras_climate/samplers/constants.py +16 -0
- keras_climate-0.1.0/keras_climate/samplers/single.py +274 -0
- keras_climate-0.1.0/keras_climate/samplers/spatial.py +170 -0
- keras_climate-0.1.0/keras_climate/samplers/temporal.py +221 -0
- keras_climate-0.1.0/keras_climate/samplers/test_samplers.py +197 -0
- keras_climate-0.1.0/keras_climate/samplers/utils.py +148 -0
- keras_climate-0.1.0/keras_climate/transforms/__init__.py +54 -0
- keras_climate-0.1.0/keras_climate/transforms/_random.py +25 -0
- keras_climate-0.1.0/keras_climate/transforms/color.py +55 -0
- keras_climate-0.1.0/keras_climate/transforms/indices.py +321 -0
- keras_climate-0.1.0/keras_climate/transforms/sar.py +138 -0
- keras_climate-0.1.0/keras_climate/transforms/spatial.py +72 -0
- keras_climate-0.1.0/keras_climate/transforms/temporal.py +30 -0
- keras_climate-0.1.0/keras_climate/transforms/test_color.py +53 -0
- keras_climate-0.1.0/keras_climate/transforms/test_indices.py +133 -0
- keras_climate-0.1.0/keras_climate/transforms/test_sar.py +107 -0
- keras_climate-0.1.0/keras_climate/transforms/test_spatial.py +48 -0
- keras_climate-0.1.0/keras_climate/transforms/test_temporal.py +24 -0
- keras_climate-0.1.0/keras_climate/utils/__init__.py +1 -0
- keras_climate-0.1.0/keras_climate/utils/layers.py +525 -0
- keras_climate-0.1.0/keras_climate/weather/__init__.py +23 -0
- keras_climate-0.1.0/keras_climate/weather/climax.py +189 -0
- keras_climate-0.1.0/keras_climate/weather/convlstm.py +76 -0
- keras_climate-0.1.0/keras_climate/weather/earthformer.py +171 -0
- keras_climate-0.1.0/keras_climate/weather/fourcastnet.py +57 -0
- keras_climate-0.1.0/keras_climate/weather/metnet.py +123 -0
- keras_climate-0.1.0/keras_climate/weather/pangu_weather.py +356 -0
- keras_climate-0.1.0/keras_climate/weather/test_climax.py +246 -0
- keras_climate-0.1.0/keras_climate/weather/test_convlstm.py +149 -0
- keras_climate-0.1.0/keras_climate/weather/test_earthformer.py +239 -0
- keras_climate-0.1.0/keras_climate/weather/test_fourcastnet.py +228 -0
- keras_climate-0.1.0/keras_climate/weather/test_metnet.py +336 -0
- keras_climate-0.1.0/keras_climate/weather/test_pangu_weather.py +690 -0
- keras_climate-0.1.0/keras_climate/weights/__init__.py +21 -0
- keras_climate-0.1.0/keras_climate/weights/converter.py +207 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/__init__.py +125 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/afno_mapping.py +38 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/anysat_mapping.py +41 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/anysat_release_mapping.py +203 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/autoformer_mapping.py +67 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/clay_mapping.py +65 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/climax_mapping.py +62 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/convlstm_mapping.py +32 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/croma_mapping.py +108 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/deeplabv3plus_mapping.py +106 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/dlinear_mapping.py +30 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/earthformer_mapping.py +63 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/fourcastnet_mapping.py +38 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/informer_mapping.py +87 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/metnet_mapping.py +80 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/nbeats_mapping.py +32 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/pangu_weather_mapping.py +71 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/patchtst_mapping.py +45 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/ringmo_mapping.py +114 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/satclip_mapping.py +39 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/satmae_mapping.py +76 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/scalemae_mapping.py +8 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/segformer_mapping.py +205 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/ssl4eo_mapping.py +18 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/tft_mapping.py +136 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/timesnet_mapping.py +41 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/unet_mapping.py +60 -0
- keras_climate-0.1.0/keras_climate/weights/mappings/vit_mapping.py +49 -0
- keras_climate-0.1.0/keras_climate/weights/port_weights.py +174 -0
- keras_climate-0.1.0/keras_climate/weights/pretrained.py +529 -0
- keras_climate-0.1.0/keras_climate.egg-info/PKG-INFO +49 -0
- keras_climate-0.1.0/keras_climate.egg-info/SOURCES.txt +423 -0
- keras_climate-0.1.0/keras_climate.egg-info/dependency_links.txt +1 -0
- keras_climate-0.1.0/keras_climate.egg-info/requires.txt +2 -0
- keras_climate-0.1.0/keras_climate.egg-info/top_level.txt +1 -0
- keras_climate-0.1.0/pyproject.toml +22 -0
- keras_climate-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: keras_climate
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Keras 3 framework for climate modeling and Earth observation
|
|
5
|
+
Project-URL: Homepage, https://github.com/anas-rz/keras-climate
|
|
6
|
+
Project-URL: Documentation, https://anas-rz.github.io/keras-climate/
|
|
7
|
+
Project-URL: Repository, https://github.com/anas-rz/keras-climate
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: keras>=3.0
|
|
11
|
+
Requires-Dist: numpy
|
|
12
|
+
|
|
13
|
+
# keras_climate
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
A Keras 3 (TensorFlow / JAX / PyTorch backend) framework of models for
|
|
18
|
+
climate modeling and Earth observation, plus tooling to port pretrained
|
|
19
|
+
weights from the original reference implementations (almost always
|
|
20
|
+
PyTorch) onto the Keras equivalents.
|
|
21
|
+
|
|
22
|
+
**[Full documentation](https://anas-rz.github.io/keras-climate/)**
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pip install git+https://github.com/anas-rz/keras-climate
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Quick start
|
|
31
|
+
|
|
32
|
+
```python
|
|
33
|
+
from keras_climate.remote_sensing import UNet, SegFormer
|
|
34
|
+
from keras_climate.forecasting import PatchTST
|
|
35
|
+
from keras_climate.weather import ConvLSTMNowcaster
|
|
36
|
+
from keras_climate.foundation import PrithviClassifier
|
|
37
|
+
|
|
38
|
+
model = UNet(input_shape=(256, 256, 4), num_classes=5) # 4-band (e.g. RGB+NIR) input
|
|
39
|
+
model.summary()
|
|
40
|
+
|
|
41
|
+
forecaster = PatchTST(seq_len=336, pred_len=96, num_channels=7)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
All builders return a plain `keras.Model`, so standard `model.compile(...)`
|
|
45
|
+
/ `model.fit(...)` / `model.save(...)` all work unchanged.
|
|
46
|
+
|
|
47
|
+
See the [documentation](https://anas-rz.github.io/keras-climate/) for the
|
|
48
|
+
full model roster, the pretrained-weight-porting guide, and which models
|
|
49
|
+
ship a ready-to-download real checkpoint.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# keras_climate
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
A Keras 3 (TensorFlow / JAX / PyTorch backend) framework of models for
|
|
6
|
+
climate modeling and Earth observation, plus tooling to port pretrained
|
|
7
|
+
weights from the original reference implementations (almost always
|
|
8
|
+
PyTorch) onto the Keras equivalents.
|
|
9
|
+
|
|
10
|
+
**[Full documentation](https://anas-rz.github.io/keras-climate/)**
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install git+https://github.com/anas-rz/keras-climate
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Quick start
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
from keras_climate.remote_sensing import UNet, SegFormer
|
|
22
|
+
from keras_climate.forecasting import PatchTST
|
|
23
|
+
from keras_climate.weather import ConvLSTMNowcaster
|
|
24
|
+
from keras_climate.foundation import PrithviClassifier
|
|
25
|
+
|
|
26
|
+
model = UNet(input_shape=(256, 256, 4), num_classes=5) # 4-band (e.g. RGB+NIR) input
|
|
27
|
+
model.summary()
|
|
28
|
+
|
|
29
|
+
forecaster = PatchTST(seq_len=336, pred_len=96, num_channels=7)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
All builders return a plain `keras.Model`, so standard `model.compile(...)`
|
|
33
|
+
/ `model.fit(...)` / `model.save(...)` all work unchanged.
|
|
34
|
+
|
|
35
|
+
See the [documentation](https://anas-rz.github.io/keras-climate/) for the
|
|
36
|
+
full model roster, the pretrained-weight-porting guide, and which models
|
|
37
|
+
ship a ready-to-download real checkpoint.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
__version__ = "0.1.0"
|
|
2
|
+
|
|
3
|
+
from keras_climate import remote_sensing
|
|
4
|
+
from keras_climate import forecasting
|
|
5
|
+
from keras_climate import weather
|
|
6
|
+
from keras_climate import foundation
|
|
7
|
+
from keras_climate import weights
|
|
8
|
+
|
|
9
|
+
__all__ = [
|
|
10
|
+
"remote_sensing",
|
|
11
|
+
"forecasting",
|
|
12
|
+
"weather",
|
|
13
|
+
"foundation",
|
|
14
|
+
"weights",
|
|
15
|
+
"__version__",
|
|
16
|
+
]
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
"""Multi-backend Keras port of torchgeo.datasets.
|
|
2
|
+
|
|
3
|
+
Core framework: :class:`GeoDataset`, :class:`RasterDataset`,
|
|
4
|
+
:class:`VectorDataset`, :class:`XarrayDataset`, :class:`NonGeoDataset`,
|
|
5
|
+
:class:`NonGeoClassificationDataset`, :class:`IntersectionDataset`, and
|
|
6
|
+
:class:`UnionDataset`, plus dataset splitting utilities and collation
|
|
7
|
+
helpers, plus the full catalog of concrete leaf datasets ported from
|
|
8
|
+
torchgeo (EuroSAT, So2Sat, Sentinel, SpaceNet, Copernicus-Bench, ...).
|
|
9
|
+
|
|
10
|
+
Image/mask samples use the channels-last layout (``H x W x C``), a
|
|
11
|
+
deliberate deviation from torchgeo's channels-first convention to match the
|
|
12
|
+
rest of keras_climate. See :mod:`keras_climate.datasets.geo` for details.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
from .copernicus import (
|
|
16
|
+
CopernicusBenchAQNO2S5P,
|
|
17
|
+
CopernicusBenchAQO3S5P,
|
|
18
|
+
CopernicusBenchBase,
|
|
19
|
+
CopernicusBenchBigEarthNetS1,
|
|
20
|
+
CopernicusBenchBigEarthNetS2,
|
|
21
|
+
CopernicusBenchBiomassS3,
|
|
22
|
+
CopernicusBenchCloudS2,
|
|
23
|
+
CopernicusBenchCloudS3,
|
|
24
|
+
CopernicusBenchDFC2020S1,
|
|
25
|
+
CopernicusBenchDFC2020S2,
|
|
26
|
+
CopernicusBenchEuroSATS1,
|
|
27
|
+
CopernicusBenchEuroSATS2,
|
|
28
|
+
CopernicusBenchFloodS1,
|
|
29
|
+
CopernicusBenchLC100ClsS3,
|
|
30
|
+
CopernicusBenchLC100SegS3,
|
|
31
|
+
CopernicusBenchLCZS2,
|
|
32
|
+
CopernicusEmbed,
|
|
33
|
+
CopernicusPretrain,
|
|
34
|
+
)
|
|
35
|
+
from .errors import DatasetNotFoundError, DependencyNotFoundError, RGBBandsMissingError
|
|
36
|
+
from .eurosat import EuroSAT, EuroSAT100, EuroSATSpatial
|
|
37
|
+
from .geo import (
|
|
38
|
+
GeoDataset,
|
|
39
|
+
IntersectionDataset,
|
|
40
|
+
NonGeoClassificationDataset,
|
|
41
|
+
NonGeoDataset,
|
|
42
|
+
RasterDataset,
|
|
43
|
+
UnionDataset,
|
|
44
|
+
VectorDataset,
|
|
45
|
+
XarrayDataset,
|
|
46
|
+
)
|
|
47
|
+
from .mixins import PlottingMixin
|
|
48
|
+
from .spacenet import (
|
|
49
|
+
SpaceNet,
|
|
50
|
+
SpaceNet1,
|
|
51
|
+
SpaceNet2,
|
|
52
|
+
SpaceNet3,
|
|
53
|
+
SpaceNet4,
|
|
54
|
+
SpaceNet5,
|
|
55
|
+
SpaceNet6,
|
|
56
|
+
SpaceNet7,
|
|
57
|
+
SpaceNet8,
|
|
58
|
+
)
|
|
59
|
+
from .splits import (
|
|
60
|
+
random_bbox_assignment,
|
|
61
|
+
random_bbox_splitting,
|
|
62
|
+
random_grid_cell_assignment,
|
|
63
|
+
roi_split,
|
|
64
|
+
time_series_split,
|
|
65
|
+
)
|
|
66
|
+
from .utils import (
|
|
67
|
+
BoundingBox,
|
|
68
|
+
concat_samples,
|
|
69
|
+
merge_samples,
|
|
70
|
+
stack_samples,
|
|
71
|
+
unbind_samples,
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
from .advance import ADVANCE
|
|
75
|
+
from .agb_live_woody_density import AbovegroundLiveWoodyBiomassDensity
|
|
76
|
+
from .agrifieldnet import AgriFieldNetImage, AgriFieldNetMask, AgriFieldNet
|
|
77
|
+
from .air_quality import AirQuality
|
|
78
|
+
from .airphen import Airphen
|
|
79
|
+
from .astergdem import AsterGDEM
|
|
80
|
+
from .benin_cashews import BeninSmallHolderCashews
|
|
81
|
+
from .bigearthnet import BigEarthNet, BigEarthNetV2
|
|
82
|
+
from .biomassters import BioMassters
|
|
83
|
+
from .bright import BRIGHTDFC2025
|
|
84
|
+
from .cabuar import CaBuAr
|
|
85
|
+
from .caffe import CaFFe
|
|
86
|
+
from .cbf import CanadianBuildingFootprints
|
|
87
|
+
from .cdl import CDL
|
|
88
|
+
from .chabud import ChaBuD
|
|
89
|
+
from .chesapeake import Chesapeake, ChesapeakeDC, ChesapeakeDE, ChesapeakeMD, ChesapeakeNY, ChesapeakePA, ChesapeakeVA, ChesapeakeWV, ChesapeakeCVPR
|
|
90
|
+
from .clay import ClayEmbeddings
|
|
91
|
+
from .cloud_cover import CloudCoverDetection
|
|
92
|
+
from .cms_mangrove_canopy import CMSGlobalMangroveCanopy
|
|
93
|
+
from .cowc import COWC, COWCCounting, COWCDetection
|
|
94
|
+
from .cropharvest import CropHarvest
|
|
95
|
+
from .cv4a_kenya_crop_type import CV4AKenyaCropType
|
|
96
|
+
from .cyclone import TropicalCyclone
|
|
97
|
+
from .deepglobelandcover import DeepGlobeLandCover
|
|
98
|
+
from .dfc2022 import DFC2022
|
|
99
|
+
from .digital_typhoon import DigitalTyphoon
|
|
100
|
+
from .dior import DIOR
|
|
101
|
+
from .dl4gam import DL4GAMAlps
|
|
102
|
+
from .dlrsd import DLRSDBase, DLRSD, DLRSDMultilabel
|
|
103
|
+
from .dota import DOTA
|
|
104
|
+
from .earth_embeddings import EarthEmbeddings
|
|
105
|
+
from .earth_index import EarthIndexEmbeddings
|
|
106
|
+
from .eddmaps import EDDMapS
|
|
107
|
+
from .enmap import EnMAP
|
|
108
|
+
from .enviroatlas import EnviroAtlas
|
|
109
|
+
from .esd import ESDQuantizer, EmbeddedSeamlessData
|
|
110
|
+
from .esri2020 import Esri2020
|
|
111
|
+
from .etci2021 import ETCI2021
|
|
112
|
+
from .eudem import EUDEM
|
|
113
|
+
from .eurocrops import EuroCrops
|
|
114
|
+
from .everwatch import EverWatch
|
|
115
|
+
from .fair1m import FAIR1M
|
|
116
|
+
from .fire_risk import FireRisk
|
|
117
|
+
from .flair import FLAIRHUBBase, FLAIRHUB, FLAIRHUBToy
|
|
118
|
+
from .forestdamage import ForestDamage
|
|
119
|
+
from .ftw import FieldsOfTheWorld
|
|
120
|
+
from .gbif import GBIF
|
|
121
|
+
from .gbm import GlobalBuildingMap
|
|
122
|
+
from .geonrw import GeoNRW
|
|
123
|
+
from .gid15 import GID15
|
|
124
|
+
from .globalmangrovewatch import GlobalMangroveWatch
|
|
125
|
+
from .globbiomass import GlobBiomass
|
|
126
|
+
from .gse import GoogleSatelliteEmbedding
|
|
127
|
+
from .hyspecnet import HySpecNet11k
|
|
128
|
+
from .idtrees import IDTReeS
|
|
129
|
+
from .inaturalist import INaturalist
|
|
130
|
+
from .inria import InriaAerialImageLabeling
|
|
131
|
+
from .iobench import IOBench
|
|
132
|
+
from .l7irish import L7IrishImage, L7IrishMask, L7Irish
|
|
133
|
+
from .l8biome import L8BiomeImage, L8BiomeMask, L8Biome
|
|
134
|
+
from .landcoverai import LandCoverAIBase, LandCoverAIGeo, LandCoverAI, LandCoverAI100
|
|
135
|
+
from .landsat import Landsat, Landsat1, Landsat2, Landsat3, Landsat4MSS, Landsat4TM, Landsat5MSS, Landsat5TM, Landsat7, Landsat8, Landsat9
|
|
136
|
+
from .levircd import LEVIRCDBase, LEVIRCD, LEVIRCDPlus
|
|
137
|
+
from .loveda import LoveDA
|
|
138
|
+
from .major_tom import MajorTOMEmbeddings
|
|
139
|
+
from .mapinwild import MapInWild
|
|
140
|
+
from .mdas import MDAS
|
|
141
|
+
from .meta_chm import MetaCHM
|
|
142
|
+
from .millionaid import MillionAID
|
|
143
|
+
from .mmearth import MMEarth
|
|
144
|
+
from .mmflood import MMFloodComponent, MMFlood
|
|
145
|
+
from .naip import NAIP
|
|
146
|
+
from .nasa_marine_debris import NASAMarineDebris
|
|
147
|
+
from .nccm import NCCM
|
|
148
|
+
from .nlcd import NLCD
|
|
149
|
+
from .openaerialmap import TileUtils, OpenAerialMap
|
|
150
|
+
from .openbuildings import OpenBuildings
|
|
151
|
+
from .openstreetmap import OpenStreetMap
|
|
152
|
+
from .oscd import OSCD, OSCD100
|
|
153
|
+
from .pastis import PASTIS, PASTIS100
|
|
154
|
+
from .patternnet import PatternNet
|
|
155
|
+
from .potsdam import Potsdam2D
|
|
156
|
+
from .presto import PrestoEmbeddings
|
|
157
|
+
from .prisma import PRISMA
|
|
158
|
+
from .quakeset import QuakeSet
|
|
159
|
+
from .reforestree import ReforesTree
|
|
160
|
+
from .resisc45 import RESISC45
|
|
161
|
+
from .rwanda_field_boundary import RwandaFieldBoundary
|
|
162
|
+
from .s2_100k import S2100k
|
|
163
|
+
from .satlas import SatlasPretrain
|
|
164
|
+
from .seasonet import SeasoNet
|
|
165
|
+
from .seco import SeasonalContrastS2
|
|
166
|
+
from .sen12ms import SEN12MS
|
|
167
|
+
from .sentinel import Sentinel, Sentinel1, Sentinel2
|
|
168
|
+
from .skippd import SKIPPD
|
|
169
|
+
from .skyscript import SkyScript
|
|
170
|
+
from .so2sat import So2Sat
|
|
171
|
+
from .soda import SODAA
|
|
172
|
+
from .solar_plants_brazil import SolarPlantsBrazil
|
|
173
|
+
from .south_africa_crop_type import SouthAfricaCropType
|
|
174
|
+
from .south_america_soybean import SouthAmericaSoybean
|
|
175
|
+
from .ssl4eo import SSL4EO, SSL4EOL, SSL4EOS12
|
|
176
|
+
from .ssl4eo_benchmark import SSL4EOLBenchmark
|
|
177
|
+
from .substation import Substation
|
|
178
|
+
from .sustainbench_crop_yield import SustainBenchCropYield
|
|
179
|
+
from .tessera import TesseraEmbeddings
|
|
180
|
+
from .treesatai import TreeSatAI
|
|
181
|
+
from .ucmerced import UCMerced
|
|
182
|
+
from .usavars import USAVars
|
|
183
|
+
from .vaihingen import Vaihingen2D
|
|
184
|
+
from .vhr10 import VHR10
|
|
185
|
+
from .western_usa_live_fuel_moisture import WesternUSALiveFuelMoisture
|
|
186
|
+
from .worldstrat import WorldStrat
|
|
187
|
+
from .xbd import xBD, XView2, xBDDistShift
|
|
188
|
+
from .zuericrop import ZueriCrop
|
|
189
|
+
|
|
190
|
+
__all__ = (
|
|
191
|
+
"ADVANCE",
|
|
192
|
+
"AbovegroundLiveWoodyBiomassDensity",
|
|
193
|
+
"AgriFieldNet",
|
|
194
|
+
"AgriFieldNetImage",
|
|
195
|
+
"AgriFieldNetMask",
|
|
196
|
+
"AirQuality",
|
|
197
|
+
"Airphen",
|
|
198
|
+
"AsterGDEM",
|
|
199
|
+
"BRIGHTDFC2025",
|
|
200
|
+
"BeninSmallHolderCashews",
|
|
201
|
+
"BigEarthNet",
|
|
202
|
+
"BigEarthNetV2",
|
|
203
|
+
"BioMassters",
|
|
204
|
+
"BoundingBox",
|
|
205
|
+
"CDL",
|
|
206
|
+
"CMSGlobalMangroveCanopy",
|
|
207
|
+
"COWC",
|
|
208
|
+
"COWCCounting",
|
|
209
|
+
"COWCDetection",
|
|
210
|
+
"CV4AKenyaCropType",
|
|
211
|
+
"CaBuAr",
|
|
212
|
+
"CaFFe",
|
|
213
|
+
"CanadianBuildingFootprints",
|
|
214
|
+
"ChaBuD",
|
|
215
|
+
"Chesapeake",
|
|
216
|
+
"ChesapeakeCVPR",
|
|
217
|
+
"ChesapeakeDC",
|
|
218
|
+
"ChesapeakeDE",
|
|
219
|
+
"ChesapeakeMD",
|
|
220
|
+
"ChesapeakeNY",
|
|
221
|
+
"ChesapeakePA",
|
|
222
|
+
"ChesapeakeVA",
|
|
223
|
+
"ChesapeakeWV",
|
|
224
|
+
"ClayEmbeddings",
|
|
225
|
+
"CloudCoverDetection",
|
|
226
|
+
"CopernicusBenchAQNO2S5P",
|
|
227
|
+
"CopernicusBenchAQO3S5P",
|
|
228
|
+
"CopernicusBenchBase",
|
|
229
|
+
"CopernicusBenchBigEarthNetS1",
|
|
230
|
+
"CopernicusBenchBigEarthNetS2",
|
|
231
|
+
"CopernicusBenchBiomassS3",
|
|
232
|
+
"CopernicusBenchCloudS2",
|
|
233
|
+
"CopernicusBenchCloudS3",
|
|
234
|
+
"CopernicusBenchDFC2020S1",
|
|
235
|
+
"CopernicusBenchDFC2020S2",
|
|
236
|
+
"CopernicusBenchEuroSATS1",
|
|
237
|
+
"CopernicusBenchEuroSATS2",
|
|
238
|
+
"CopernicusBenchFloodS1",
|
|
239
|
+
"CopernicusBenchLC100ClsS3",
|
|
240
|
+
"CopernicusBenchLC100SegS3",
|
|
241
|
+
"CopernicusBenchLCZS2",
|
|
242
|
+
"CopernicusEmbed",
|
|
243
|
+
"CopernicusPretrain",
|
|
244
|
+
"CropHarvest",
|
|
245
|
+
"DFC2022",
|
|
246
|
+
"DIOR",
|
|
247
|
+
"DL4GAMAlps",
|
|
248
|
+
"DLRSD",
|
|
249
|
+
"DLRSDBase",
|
|
250
|
+
"DLRSDMultilabel",
|
|
251
|
+
"DOTA",
|
|
252
|
+
"DatasetNotFoundError",
|
|
253
|
+
"DeepGlobeLandCover",
|
|
254
|
+
"DependencyNotFoundError",
|
|
255
|
+
"DigitalTyphoon",
|
|
256
|
+
"EDDMapS",
|
|
257
|
+
"ESDQuantizer",
|
|
258
|
+
"ETCI2021",
|
|
259
|
+
"EUDEM",
|
|
260
|
+
"EarthEmbeddings",
|
|
261
|
+
"EarthIndexEmbeddings",
|
|
262
|
+
"EmbeddedSeamlessData",
|
|
263
|
+
"EnMAP",
|
|
264
|
+
"EnviroAtlas",
|
|
265
|
+
"Esri2020",
|
|
266
|
+
"EuroCrops",
|
|
267
|
+
"EuroSAT",
|
|
268
|
+
"EuroSAT100",
|
|
269
|
+
"EuroSATSpatial",
|
|
270
|
+
"EverWatch",
|
|
271
|
+
"FAIR1M",
|
|
272
|
+
"FLAIRHUB",
|
|
273
|
+
"FLAIRHUBBase",
|
|
274
|
+
"FLAIRHUBToy",
|
|
275
|
+
"FieldsOfTheWorld",
|
|
276
|
+
"FireRisk",
|
|
277
|
+
"ForestDamage",
|
|
278
|
+
"GBIF",
|
|
279
|
+
"GID15",
|
|
280
|
+
"GeoDataset",
|
|
281
|
+
"GeoNRW",
|
|
282
|
+
"GlobBiomass",
|
|
283
|
+
"GlobalBuildingMap",
|
|
284
|
+
"GlobalMangroveWatch",
|
|
285
|
+
"GoogleSatelliteEmbedding",
|
|
286
|
+
"HySpecNet11k",
|
|
287
|
+
"IDTReeS",
|
|
288
|
+
"INaturalist",
|
|
289
|
+
"IOBench",
|
|
290
|
+
"InriaAerialImageLabeling",
|
|
291
|
+
"IntersectionDataset",
|
|
292
|
+
"L7Irish",
|
|
293
|
+
"L7IrishImage",
|
|
294
|
+
"L7IrishMask",
|
|
295
|
+
"L8Biome",
|
|
296
|
+
"L8BiomeImage",
|
|
297
|
+
"L8BiomeMask",
|
|
298
|
+
"LEVIRCD",
|
|
299
|
+
"LEVIRCDBase",
|
|
300
|
+
"LEVIRCDPlus",
|
|
301
|
+
"LandCoverAI",
|
|
302
|
+
"LandCoverAI100",
|
|
303
|
+
"LandCoverAIBase",
|
|
304
|
+
"LandCoverAIGeo",
|
|
305
|
+
"Landsat",
|
|
306
|
+
"Landsat1",
|
|
307
|
+
"Landsat2",
|
|
308
|
+
"Landsat3",
|
|
309
|
+
"Landsat4MSS",
|
|
310
|
+
"Landsat4TM",
|
|
311
|
+
"Landsat5MSS",
|
|
312
|
+
"Landsat5TM",
|
|
313
|
+
"Landsat7",
|
|
314
|
+
"Landsat8",
|
|
315
|
+
"Landsat9",
|
|
316
|
+
"LoveDA",
|
|
317
|
+
"MDAS",
|
|
318
|
+
"MMEarth",
|
|
319
|
+
"MMFlood",
|
|
320
|
+
"MMFloodComponent",
|
|
321
|
+
"MajorTOMEmbeddings",
|
|
322
|
+
"MapInWild",
|
|
323
|
+
"MetaCHM",
|
|
324
|
+
"MillionAID",
|
|
325
|
+
"NAIP",
|
|
326
|
+
"NASAMarineDebris",
|
|
327
|
+
"NCCM",
|
|
328
|
+
"NLCD",
|
|
329
|
+
"NonGeoClassificationDataset",
|
|
330
|
+
"NonGeoDataset",
|
|
331
|
+
"OSCD",
|
|
332
|
+
"OSCD100",
|
|
333
|
+
"OpenAerialMap",
|
|
334
|
+
"OpenBuildings",
|
|
335
|
+
"OpenStreetMap",
|
|
336
|
+
"PASTIS",
|
|
337
|
+
"PASTIS100",
|
|
338
|
+
"PRISMA",
|
|
339
|
+
"PatternNet",
|
|
340
|
+
"PlottingMixin",
|
|
341
|
+
"Potsdam2D",
|
|
342
|
+
"PrestoEmbeddings",
|
|
343
|
+
"QuakeSet",
|
|
344
|
+
"RESISC45",
|
|
345
|
+
"RGBBandsMissingError",
|
|
346
|
+
"RasterDataset",
|
|
347
|
+
"ReforesTree",
|
|
348
|
+
"RwandaFieldBoundary",
|
|
349
|
+
"S2100k",
|
|
350
|
+
"SEN12MS",
|
|
351
|
+
"SKIPPD",
|
|
352
|
+
"SODAA",
|
|
353
|
+
"SSL4EO",
|
|
354
|
+
"SSL4EOL",
|
|
355
|
+
"SSL4EOLBenchmark",
|
|
356
|
+
"SSL4EOS12",
|
|
357
|
+
"SatlasPretrain",
|
|
358
|
+
"SeasoNet",
|
|
359
|
+
"SeasonalContrastS2",
|
|
360
|
+
"Sentinel",
|
|
361
|
+
"Sentinel1",
|
|
362
|
+
"Sentinel2",
|
|
363
|
+
"SkyScript",
|
|
364
|
+
"So2Sat",
|
|
365
|
+
"SolarPlantsBrazil",
|
|
366
|
+
"SouthAfricaCropType",
|
|
367
|
+
"SouthAmericaSoybean",
|
|
368
|
+
"SpaceNet",
|
|
369
|
+
"SpaceNet1",
|
|
370
|
+
"SpaceNet2",
|
|
371
|
+
"SpaceNet3",
|
|
372
|
+
"SpaceNet4",
|
|
373
|
+
"SpaceNet5",
|
|
374
|
+
"SpaceNet6",
|
|
375
|
+
"SpaceNet7",
|
|
376
|
+
"SpaceNet8",
|
|
377
|
+
"Substation",
|
|
378
|
+
"SustainBenchCropYield",
|
|
379
|
+
"TesseraEmbeddings",
|
|
380
|
+
"TileUtils",
|
|
381
|
+
"TreeSatAI",
|
|
382
|
+
"TropicalCyclone",
|
|
383
|
+
"UCMerced",
|
|
384
|
+
"USAVars",
|
|
385
|
+
"UnionDataset",
|
|
386
|
+
"VHR10",
|
|
387
|
+
"Vaihingen2D",
|
|
388
|
+
"VectorDataset",
|
|
389
|
+
"WesternUSALiveFuelMoisture",
|
|
390
|
+
"WorldStrat",
|
|
391
|
+
"XView2",
|
|
392
|
+
"XarrayDataset",
|
|
393
|
+
"ZueriCrop",
|
|
394
|
+
"concat_samples",
|
|
395
|
+
"merge_samples",
|
|
396
|
+
"random_bbox_assignment",
|
|
397
|
+
"random_bbox_splitting",
|
|
398
|
+
"random_grid_cell_assignment",
|
|
399
|
+
"roi_split",
|
|
400
|
+
"stack_samples",
|
|
401
|
+
"time_series_split",
|
|
402
|
+
"unbind_samples",
|
|
403
|
+
"xBD",
|
|
404
|
+
"xBDDistShift",
|
|
405
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Shared test-only helpers for keras_climate.datasets tests (not a test module itself)."""
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def assert_dtype(tensor, expected, jax_fallback=None):
|
|
5
|
+
"""Assert a tensor's dtype equals *expected*, portable across backends.
|
|
6
|
+
|
|
7
|
+
Keras backends disagree on whether the raw ``tensor.dtype`` object
|
|
8
|
+
supports string equality: it works for TensorFlow and JAX, but
|
|
9
|
+
``torch.dtype.__eq__`` does not accept a plain string (``torch.float32
|
|
10
|
+
== "float32"`` is ``False``). ``keras.backend.standardize_dtype``
|
|
11
|
+
normalizes it into a plain, comparable string on every backend.
|
|
12
|
+
|
|
13
|
+
Args:
|
|
14
|
+
tensor: a Keras tensor.
|
|
15
|
+
expected: the expected dtype string (e.g. ``"float32"``).
|
|
16
|
+
jax_fallback: an additional dtype string to also accept, but only
|
|
17
|
+
on the jax backend. Use this for int64 assertions, since JAX
|
|
18
|
+
disables 64-bit precision by default (a well-known JAX
|
|
19
|
+
limitation, not something keras_climate's datasets control),
|
|
20
|
+
silently downcasting int64 requests to int32.
|
|
21
|
+
"""
|
|
22
|
+
import keras
|
|
23
|
+
|
|
24
|
+
actual = keras.backend.standardize_dtype(tensor.dtype)
|
|
25
|
+
if jax_fallback is not None and keras.backend.backend() == "jax":
|
|
26
|
+
assert actual in (expected, jax_fallback), actual
|
|
27
|
+
else:
|
|
28
|
+
assert actual == expected, actual
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def assert_int64_dtype(tensor):
|
|
32
|
+
"""Assert an integer tensor is int64, tolerating JAX's 32-bit default."""
|
|
33
|
+
assert_dtype(tensor, "int64", jax_fallback="int32")
|