Skip to content

Commit

Permalink
Merge branch 'main' into update-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
robmarkcole authored Sep 5, 2024
2 parents 8381cb7 + d477d5b commit b5050ad
Show file tree
Hide file tree
Showing 475 changed files with 5,448 additions and 3,611 deletions.
2 changes: 1 addition & 1 deletion .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
changelog:
exclude:
authors:
- dependabot[bot]
- app/dependabot
categories:
- title: Backwards-incompatible changes
labels:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches:
- release**
defaults:
run:
shell: bash
jobs:
integration:
name: integration
Expand All @@ -14,7 +17,7 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"
- name: Cache dependencies
Expand Down Expand Up @@ -42,7 +45,7 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"
- name: Cache dependencies
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main
- release**
defaults:
run:
shell: bash
jobs:
mypy:
name: mypy
Expand All @@ -16,7 +19,7 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"
- name: Cache dependencies
Expand All @@ -41,7 +44,7 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"
- name: Cache dependencies
Expand Down
28 changes: 8 additions & 20 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main
- release**
defaults:
run:
shell: bash
jobs:
latest:
name: latest
Expand All @@ -22,7 +25,7 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
Expand All @@ -34,17 +37,6 @@ jobs:
if: ${{ runner.os != 'macOS' }}
- name: Setup headless display for pyvista
uses: pyvista/setup-headless-display-action@v2
- name: Install apt dependencies (Linux)
run: |
sudo apt-get update
sudo apt-get install unrar
if: ${{ runner.os == 'Linux' }}
- name: Install brew dependencies (macOS)
run: brew install rar
if: ${{ runner.os == 'macOS' }}
- name: Install choco dependencies (Windows)
run: choco install 7zip
if: ${{ runner.os == 'Windows' }}
- name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
Expand All @@ -69,25 +61,21 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.10"
- name: Cache dependencies
uses: actions/[email protected]
id: cache
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/min-reqs.old') }}-${{ hashFiles('requirements/mins-cons.old') }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/min-reqs.old') }}
- name: Setup headless display for pyvista
uses: pyvista/setup-headless-display-action@v2
- name: Install apt dependencies (Linux)
run: |
sudo apt-get update
sudo apt-get install unrar
- name: Install pip dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
pip install -r requirements/min-reqs.old -c requirements/min-cons.old
pip install -r requirements/min-reqs.old
pip cache purge
- name: List pip dependencies
run: pip list
Expand All @@ -108,7 +96,7 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"
- name: Cache dependencies
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- main
paths:
- docs/tutorials/**
defaults:
run:
shell: bash
jobs:
notebooks:
name: notebooks
Expand All @@ -18,7 +21,7 @@ jobs:
- name: Clone repo
uses: actions/[email protected]
- name: Set up python
uses: actions/setup-python@v5.1.1
uses: actions/setup-python@v5.2.0
with:
python-version: "3.12"
- name: Cache dependencies
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
- einops>=0.6.0
- kornia>=0.6.9
- lightning>=2.0.9
- matplotlib>=3.8.1
- matplotlib>=3.9.2
- numpy>=1.22
- pillow>=10.4.0
- pytest>=6.1.2
Expand Down
7 changes: 6 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# Ignore artifacts:
# Ignore artifacts
tests/data/*/**

# Automatically igored by git, but not by prettier
.mypy_cache
.pytest_cache
.ruff_cache
3 changes: 0 additions & 3 deletions docs/api/agnostic_pretrained_weights.csv

This file was deleted.

15 changes: 15 additions & 0 deletions docs/api/datamodules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ BigEarthNet

.. autoclass:: BigEarthNetDataModule

CaBuAr
^^^^^^

.. autoclass:: CaBuArDataModule

ChaBuD
^^^^^^

Expand All @@ -72,6 +77,11 @@ Deep Globe Land Cover Challenge

.. autoclass:: DeepGlobeLandCoverDataModule

Digital Typhoon
^^^^^^^^^^^^^^^

.. autoclass:: DigitalTyphoonDataModule

ETCI2021 Flood Detection
^^^^^^^^^^^^^^^^^^^^^^^^

Expand All @@ -94,6 +104,11 @@ FireRisk

.. autoclass:: FireRiskDataModule

GeoNRW
^^^^^^

.. autoclass:: GeoNRWDataModule

GID-15
^^^^^^

Expand Down
30 changes: 25 additions & 5 deletions docs/api/datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Geospatial Datasets
:widths: 30 15 20 36 20 15
:header-rows: 1
:align: center
:file: geo_datasets.csv
:file: datasets/geo_datasets.csv

Aboveground Woody Biomass
^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down Expand Up @@ -47,8 +47,6 @@ Chesapeake Land Cover
^^^^^^^^^^^^^^^^^^^^^

.. autoclass:: Chesapeake
.. autoclass:: Chesapeake7
.. autoclass:: Chesapeake13
.. autoclass:: ChesapeakeDC
.. autoclass:: ChesapeakeDE
.. autoclass:: ChesapeakeMD
Expand Down Expand Up @@ -193,11 +191,11 @@ Non-geospatial Datasets

:class:`NonGeoDataset` is designed for datasets that lack geospatial information. These datasets can still be combined using :class:`ConcatDataset <torch.utils.data.ConcatDataset>`.

.. csv-table:: C = classification, R = regression, S = semantic segmentation, I = instance segmentation, T = time series, CD = change detection, OD = object detection
.. csv-table:: C = classification, R = regression, S = semantic segmentation, I = instance segmentation, T = time series, CD = change detection, OD = object detection, IC = image captioning
:widths: 15 7 15 20 12 11 12 15 13
:header-rows: 1
:align: center
:file: non_geo_datasets.csv
:file: datasets/non_geo_datasets.csv

ADVANCE
^^^^^^^
Expand All @@ -219,6 +217,11 @@ BioMassters

.. autoclass:: BioMassters

CaBuAr
^^^^^^

.. autoclass:: CaBuAr

ChaBuD
^^^^^^

Expand Down Expand Up @@ -256,6 +259,12 @@ DFC2022

.. autoclass:: DFC2022


Digital Typhoon
^^^^^^^^^^^^^^^

.. autoclass:: DigitalTyphoon

ETCI2021 Flood Detection
^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -283,6 +292,11 @@ Forest Damage

.. autoclass:: ForestDamage

GeoNRW
^^^^^^^

.. autoclass:: GeoNRW

GID-15
^^^^^^

Expand Down Expand Up @@ -394,6 +408,11 @@ SKIPP'D

.. autoclass:: SKIPPD

SkyScript
^^^^^^^^^

.. autoclass:: SkyScript

So2Sat
^^^^^^

Expand All @@ -410,6 +429,7 @@ SpaceNet
.. autoclass:: SpaceNet5
.. autoclass:: SpaceNet6
.. autoclass:: SpaceNet7
.. autoclass:: SpaceNet8

SSL4EO
^^^^^^
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Dataset,Type,Source,License,Size (px),Resolution (m)
`Airphen`_,Imagery,Airphen,-,"1,280x960",0.047--0.09
`Aster Global DEM`_,DEM,Aster,"public domain","3,601x3,601",30
`Canadian Building Footprints`_,Geometries,Bing Imagery,"ODbL-1.0",-,-
`Chesapeake Land Cover`_,"Imagery, Masks",NAIP,"CC-BY-4.0",-,1
`Chesapeake Land Cover`_,"Imagery, Masks",NAIP,"CC0-1.0",-,1
`Global Mangrove Distribution`_,Masks,"Remote Sensing, In Situ Measurements","public domain",-,3
`Cropland Data Layer`_,Masks,Landsat,"public domain",-,30
`EDDMapS`_,Points,Citizen Scientists,-,-,-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@ Dataset,Task,Source,License,# Samples,# Classes,Size (px),Resolution (m),Bands
`Benin Cashew Plantations`_,S,Airbus Pléiades,"CC-BY-4.0",70,6,"1,122x1,186",10,MSI
`BigEarthNet`_,C,Sentinel-1/2,"CDLA-Permissive-1.0","590,326",19--43,120x120,10,"SAR, MSI"
`BioMassters`_,R,Sentinel-1/2 and Lidar,"CC-BY-4.0",,,256x256, 10, "SAR, MSI"
`CaBuAr`_,CD,Sentinel-2,"OpenRAIL",424,2,512x512,20,MSI
`ChaBuD`_,CD,Sentinel-2,"OpenRAIL",356,2,512x512,10,MSI
`Cloud Cover Detection`_,S,Sentinel-2,"CC-BY-4.0","22,728",2,512x512,10,MSI
`COWC`_,"C, R","CSUAV AFRL, ISPRS, LINZ, AGRC","AGPL-3.0-only","388,435",2,256x256,0.15,RGB
`CropHarvest`_,"C","Sentinel-1/2, SRTM, ERA5","CC-BY-SA-4.0","70,213",351,1x1,10,"SAR, MSI, SRTM"
`Kenya Crop Type`_,S,Sentinel-2,"CC-BY-SA-4.0","4,688",7,"3,035x2,016",10,MSI
`DeepGlobe Land Cover`_,S,DigitalGlobe +Vivid,-,803,7,"2,448x2,448",0.5,RGB
`DFC2022`_,S,Aerial,"CC-BY-4.0","3,981",15,"2,000x2,000",0.5,RGB
`Digital Typhoon`_,"C, R",Himawari,"CC-BY-4.0","189,364",8,512,5000,Infrared
`ETCI2021 Flood Detection`_,S,Sentinel-1,-,"66,810",2,256x256,5--20,SAR
`EuroSAT`_,C,Sentinel-2,"MIT","27,000",10,64x64,10,MSI
`FAIR1M`_,OD,Gaofen/Google Earth,"CC-BY-NC-SA-3.0","15,000",37,"1,024x1,024",0.3--0.8,RGB
`FireRisk`_,C,NAIP Aerial,"CC-BY-NC-4.0","91,872",7,"320x320",1,RGB
`Forest Damage`_,OD,Drone imagery,"CDLA-Permissive-1.0","1,543",4,"1,500x1,500",,RGB
`GeoNRW`_,S,Aerial,"CC-BY-4.0","7,783",11,"1,000x1,000",1,"RGB, DEM"
`GID-15`_,S,Gaofen-2,-,150,15,"6,800x7,200",3,RGB
`IDTReeS`_,"OD,C",Aerial,"CC-BY-4.0",591,33,200x200,0.1--1,RGB
`Inria Aerial Image Labeling`_,S,Aerial,-,360,2,"5,000x5,000",0.3,RGB
Expand All @@ -31,12 +34,13 @@ Dataset,Task,Source,License,# Samples,# Classes,Size (px),Resolution (m),Bands
`Potsdam`_,S,Aerial,-,38,6,"6,000x6,000",0.05,MSI
`QuakeSet`_,"C, R",Sentinel-1,"OpenRAIL","3,327",2,512x512,10,SAR
`ReforesTree`_,"OD, R",Aerial,"CC-BY-4.0",100,6,"4,000x4,000",0.02,RGB
`RESISC45`_,C,Google Earth,"CC-BY-NC-4.0","31,500",45,256x256,0.2--30,RGB
`RESISC45`_,C,Google Earth,-,"31,500",45,256x256,0.2--30,RGB
`Rwanda Field Boundary`_,S,Planetscope,"NICFI AND CC-BY-4.0",70,2,256x256,4.7,RGB + NIR
`Seasonal Contrast`_,T,Sentinel-2,"CC-BY-4.0",100K--1M,-,264x264,10,MSI
`SeasoNet`_,S,Sentinel-2,"CC-BY-4.0","1,759,830",33,120x120,10,MSI
`SEN12MS`_,S,"Sentinel-1/2, MODIS","CC-BY-4.0","180,662",33,256x256,10,"SAR, MSI"
`SKIPP'D`_,R,"Fish-eye","CC-BY-4.0","363,375",-,64x64,-,RGB
`SkyScript`_,IC,"NAIP, orthophotos, Planet SkySat, Sentinel-2, Landsat 8--9",MIT,5.2M,-,100--1000,0.1--30,RGB
`So2Sat`_,C,Sentinel-1/2,"CC-BY-4.0","400,673",17,32x32,10,"SAR, MSI"
`SpaceNet`_,I,WorldView-2/3 Planet Lab Dove,"CC-BY-SA-4.0","1,889--28,728",2,102--900,0.5--4,MSI
`SSL4EO`_-L,T,Landsat,"CC0-1.0",1M,-,264x264,30,MSI
Expand Down
2 changes: 0 additions & 2 deletions docs/api/misc_pretrained_weights.csv

This file was deleted.

Loading

0 comments on commit b5050ad

Please sign in to comment.