Граф коммитов

1478 Коммитов

Автор SHA1 Сообщение Дата
Adam J. Stewart 6c09cace3a
SSL4EO: Add script to delete excess files (#1425)
* SSL4EO: Add script to delete excess files

* Placate black
2023-06-18 11:36:15 -05:00
Adam J. Stewart b4758a732a
Improve CI concurrency robustness (#1423) 2023-06-16 20:50:42 -05:00
Adam J. Stewart b168cae22a
Revert "Gather GitHub context"
This reverts commit 38a9bb4579.
2023-06-16 17:56:32 -05:00
Adam J. Stewart 38a9bb4579
Gather GitHub context 2023-06-16 17:54:53 -05:00
Adam J. Stewart ae3a4cb3a2
NLCD: support future product versions (#1397)
* NLCD: support future product versions

* Limit string replace

* Limit in one more place
2023-06-15 13:14:10 -05:00
Adam J. Stewart 1ad8caa754
SSL4EO-L: add reproducibility instructions (#1416)
* Create landsat subdirectory

* Python scripts in superdirectory now

* Add README
2023-06-15 11:58:43 -05:00
dependabot[bot] 2ba9207647
Bump lightly from 1.4.7 to 1.4.8 in /requirements (#1414)
Bumps [lightly](https://github.com/lightly-ai/lightly) from 1.4.7 to 1.4.8.
- [Release notes](https://github.com/lightly-ai/lightly/releases)
- [Commits](https://github.com/lightly-ai/lightly/compare/v1.4.7...v1.4.8)

---
updated-dependencies:
- dependency-name: lightly
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 21:04:30 -05:00
dependabot[bot] 0eb86c7731
Bump pytest from 7.3.1 to 7.3.2 in /requirements (#1411)
* Bump pytest from 7.3.1 to 7.3.2 in /requirements

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.1...7.3.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* pytest fixed some type hints

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-06-13 03:22:21 +00:00
dependabot[bot] 02b8aeb80b
Bump pyproj from 3.5.0 to 3.6.0 in /requirements (#1410)
Bumps [pyproj](https://github.com/pyproj4/pyproj) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/pyproj4/pyproj/releases)
- [Changelog](https://github.com/pyproj4/pyproj/blob/main/docs/history.rst)
- [Commits](https://github.com/pyproj4/pyproj/compare/3.5.0...3.6.0)

---
updated-dependencies:
- dependency-name: pyproj
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 03:16:24 +00:00
dependabot[bot] ed3f7a2d01
Bump pyupgrade from 3.4.0 to 3.6.0 in /requirements (#1409)
Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.4.0 to 3.6.0.
- [Commits](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.6.0)

---
updated-dependencies:
- dependency-name: pyupgrade
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 03:15:43 +00:00
dependabot[bot] 7e894fd524
Bump actions/checkout from 3.5.2 to 3.5.3 (#1408)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 03:13:45 +00:00
Adam J. Stewart 06f91f7fbb
Minor updates to Landsat band plots (#1396) 2023-06-09 13:00:27 -05:00
dependabot[bot] 2f0458db44
Bump lightning from 2.0.2 to 2.0.3 in /requirements (#1406)
* Bump lightning from 2.0.2 to 2.0.3 in /requirements

Bumps [lightning](https://github.com/Lightning-AI/lightning) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/2.0.2...2.0.3)

---
updated-dependencies:
- dependency-name: lightning
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update datamodule base class

* Check attributes first

* Fix remaining type hints

* More fixes

* Try again

* Try casting

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-06-08 04:11:19 +00:00
dependabot[bot] 072839410b
Bump lightly from 1.4.6 to 1.4.7 in /requirements (#1405)
Bumps [lightly](https://github.com/lightly-ai/lightly) from 1.4.6 to 1.4.7.
- [Release notes](https://github.com/lightly-ai/lightly/releases)
- [Commits](https://github.com/lightly-ai/lightly/compare/v1.4.6...v1.4.7)

---
updated-dependencies:
- dependency-name: lightly
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-07 22:27:31 +00:00
Adam J. Stewart e53e9b0ba2
SSL4EO-L Benchmark ETM+: copy nodata pixels from img to mask (#1400)
* SSL4EO-L Benchmark ETM+: copy nodata pixels from img to mask

* black fix

* Simpler bounds

* Update checksums
2023-06-07 16:36:00 -05:00
Adam J. Stewart 40b21fe7f4
SSL4EO-L Benchmark configs: remove class weights (#1401) 2023-06-05 16:42:31 -05:00
Adam J. Stewart 9e57f27818
CDL/NLCD/SSL4EO: allow selection of classes (#1392)
* CDL/NLCD/SSL4EO: allow selection of classes

* 0 is already 0

* Get NLCD tests to pass

* Search recursively for NLCD files

* Update CDL

* Update SSL4EO-L Benchmark

* Passing tests

* Test SSL4EO-L Benchmark

* Test CDL

* Test NLCD

* Mypy fix

* Remove debugging code
2023-06-04 08:21:05 -07:00
Nils Lehmann 3d436d3057
Define data augmentations for benchmark tasks (#1382)
* define data augmentations for benchmark tasks

* updated probs

* merge main and fix tests

* revert unnecessary squeeze

* final augmentations

* more fixes

* Fix tests

* Better workaround

* Fix type hints

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-06-04 10:03:18 -05:00
Adam J. Stewart 99413397b8
Compute class imbalance (#1389)
* Compute class imbalance

* Add --ignore-index flag

* Higher range

* Fix mypy

* Add flags to select subset and compute weights

* Fix --keep calculation
2023-06-04 10:02:05 -05:00
Adam J. Stewart 55a622f85c
Add config files for SSL4EO-L downstream tasks (#1394)
* Add config files for L7 Irish and L8 Biome

* Add configs for SSL4EO-L Benchmark
2023-06-04 10:01:26 -05:00
dependabot[bot] 4bede4d00f
Bump scikit-image from 0.21.0rc1 to 0.21.0 in /requirements (#1391)
Bumps [scikit-image](https://github.com/scikit-image/scikit-image) from 0.21.0rc1 to 0.21.0.
- [Release notes](https://github.com/scikit-image/scikit-image/releases)
- [Changelog](https://github.com/scikit-image/scikit-image/blob/main/RELEASE.txt)
- [Commits](https://github.com/scikit-image/scikit-image/compare/v0.21.0rc1...v0.21.0)

---
updated-dependencies:
- dependency-name: scikit-image
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 22:00:56 +00:00
Adam J. Stewart 51cdf363b5
Add copyright to files we forgot (#1390) 2023-06-02 16:07:22 -05:00
Yi Wang 7bc19aea9d
fix downloading success check bug (#1388)
* fix downloading success check bug

* fix downloading success check bug

* simplify fix

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-06-02 16:43:46 +00:00
Nils Lehmann 0a564dd4b2
Adapt CDL cmap to match ordinal label mapping (#1368)
* outline downstream dataset

* revert commit

* outline downstream dataset

* revert commit

* ordinal cmap and missing fig return

* Fix cmap

* I hate 0-indexed programming languages

* L7 Irish/L8 Biome: don't interpolate cmap

* list -> dict

* None means the default, which is antialiasing

* Undo changes to other datasets

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-06-02 11:29:23 -05:00
Adam J. Stewart 9e4f7d12d4
Improve customizability of Landsat band plots (#1378)
* Improve customizability of Landsat band plots

* Better xlabel

* Display default values

* More band customization

* More band customization

* Fix ylim

* Fix vertical centering

* Fewer sensors

* flake8 fix

* usetex

* Shorter, simpler

* Wider thermal bands padding
2023-06-01 15:12:04 -05:00
Adam J. Stewart 02f2a6cb81
Add script to plot Landsat mission timeline (#1383)
* Add script to plot Landsat mission timeline

* No range, present, mission

* usetex

* Thinner lines

* Shorter, simpler
2023-06-01 15:11:47 -05:00
Adam J. Stewart c359c68b1a
GitHub Actions: disable macOS Python 3.11 cache (#1387)
* GitHub Actions: disable macOS Python 3.11 cache

* Try ! in curly braces
2023-06-01 15:11:27 -05:00
Adam J. Stewart 114b4d1666
sample_ssl4eo: faster top 10K (#1385) 2023-06-01 12:50:13 -05:00
Adam J. Stewart 437638dde6
L7 Irish/L8 Biome: avoid interpolation of masks (#1373) 2023-05-30 21:08:15 -05:00
Adam J. Stewart e7a1370ecf
DFC2022: avoid interploation in colormap (#1372) 2023-05-30 21:07:50 -05:00
dependabot[bot] 46ecb7fe7c
Bump actions/setup-python from 4.6.0 to 4.6.1 (#1380)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 16:50:45 +00:00
dependabot[bot] a4a873b945
Bump pandas from 2.0.1 to 2.0.2 in /requirements (#1381)
Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](https://github.com/pandas-dev/pandas/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: pandas
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 16:43:47 +00:00
Adam J. Stewart de79658086
SSL4EO benchmark: fix cmap (#1375) 2023-05-29 11:30:01 -05:00
Adam J. Stewart 53a92ed4cf
NLCD: avoid interpolation, set vmin/vmax (#1374) 2023-05-29 11:29:38 -05:00
Adam J. Stewart d131c8bda7
Test Python 3.11 (#1180)
* Add Python 3.11 support

* Bump deps to Python 3.11 supporting versions

* Update scipy for Python 3.11 support

* Declare support for newer timm
2023-05-29 11:29:03 -05:00
Caleb Robinson 108c94bb9b
Test fewer models in trainers to avoid exceeding RAM (#1377)
* Stop the madness

* isort

* flake8

* Repeat for other trainers

* Parentheses not needed

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-05-29 11:28:36 -05:00
Adam J. Stewart 38f59d1efe
L8 Biome: clarify dataset description (#1371) 2023-05-27 14:39:30 -05:00
Nils Lehmann e3d8bc7716
Fix ETM_SR benchmark dataset (#1370)
* outline downstream dataset

* revert commit

* outline downstream dataset

* revert commit

* update md5sum
2023-05-25 16:33:47 -05:00
Adam J. Stewart c4fdd63cb2
Ensure that all plot methods return figure (#1369) 2023-05-25 10:47:21 -05:00
Nils Lehmann 22ee95226f
SSL4EO Landsat Downstream Dataset/module CDL, NLCD (#1338)
* outline downstream dataset

* revert commit

* outline of downstream dataset

* some work

* add test data

* run black

* add plot method

* new naming scheme

* fix unit tests

* add datamodule

* requested changes

* remove comments

* EOF

* battle against red circle

* fix failing tests

* add train val test split

* huggingface support

* fix failing trainer test

* running version of datamodule with trainer

* requested changes

* rename datamodules

* add colormap

* outline downstream dataset

* revert commit

* requested changes

* pass tests

* requested changes
2023-05-25 10:12:48 +02:00
Nils Lehmann 2d576d915f
Add year filter functionality CDL (#1337)
* add year functionality CDL

* requested changes and test coverage

* removesuffix clearer than strip

* recursive file verify

* Fix versionadded syntax

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-05-25 08:25:46 +02:00
dependabot[bot] ded347e17b
Bump pytest-cov from 4.0.0 to 4.1.0 in /requirements (#1366)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 21:25:07 -05:00
dependabot[bot] ddb4ab3de9
Bump fiona from 1.9.4 to 1.9.4.post1 in /requirements (#1365)
Bumps [fiona](https://github.com/Toblerity/Fiona) from 1.9.4 to 1.9.4.post1.
- [Release notes](https://github.com/Toblerity/Fiona/releases)
- [Changelog](https://github.com/Toblerity/Fiona/blob/master/CHANGES.txt)
- [Commits](https://github.com/Toblerity/Fiona/compare/1.9.4...1.9.4.post1)

---
updated-dependencies:
- dependency-name: fiona
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 21:24:28 -05:00
Adam J. Stewart d37af7362d
L8 Biome: update for new dataset format (#1356)
* L8 Biome: update for new dataset format

* Fix bug in fake data generation
2023-05-24 21:24:01 -05:00
Adam J. Stewart f39416b15c
L7 Irish: update for new dataset format (#1355)
* L7 Irish: update for new dataset format

* Fix bug in fake data generation
2023-05-24 21:23:10 -05:00
dependabot[bot] e4fb97233b
Bump nbsphinx from 0.9.1 to 0.9.2 in /requirements (#1367)
Bumps [nbsphinx](https://github.com/spatialaudio/nbsphinx) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/spatialaudio/nbsphinx/releases)
- [Changelog](https://github.com/spatialaudio/nbsphinx/blob/master/NEWS.rst)
- [Commits](https://github.com/spatialaudio/nbsphinx/compare/0.9.1...0.9.2)

---
updated-dependencies:
- dependency-name: nbsphinx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 21:40:46 +00:00
Nils Lehmann 7a213d1932
CDL ordinal label map (#1364)
* outline downstream dataset

* revert commit

* add ordinal label mapping to cdl

* change docstring
2023-05-24 18:59:31 +00:00
Nils Lehmann 0f500cb69e
Adjust naming scheme for SSL4EO dataset (#1362)
* outline downstream dataset

* revert commit

* fix naming scheme
2023-05-24 13:38:59 -05:00
Isaac Corley bc333266ff
GASSL ResNet50 Weights (#1325)
* add gassl weights

* add transforms and update docs
2023-05-24 08:42:20 -07:00
Adam J. Stewart 71ffe1ab83
MoCo/SimCLR: better default lr (#1363)
* MoCo/SimCLR: better default lr

* New MoCo v3 lr
2023-05-24 10:04:25 -05:00