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

2183 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 630a9a71b5
Bump actions/setup-python from 5.1.1 to 5.2.0 (#2272) 2024-09-02 22:56:48 +02:00
Adam J. Stewart 370e460d2f
Bump torchgeo version to 0.7.0.dev0 (#2268) 2024-09-01 12:37:30 +02:00
Adam J. Stewart bcb959ab2d
0.6.0 release (#2265)
* 0.6.0 release

* Fix versionadded

* Update docs on ruff

* EuroCrops: consistent citation message

* Attempt to remove fully qualified type hints

* Silence test warnings

* Undo digital typhoon changes

* Undo sphinx req changes

* Automatically delete downloaded models after successful tests to avoid OOM

* Silence mypy warning

* Skip dependabot in auto-generated release notes
2024-09-01 12:06:26 +02:00
Adam J. Stewart 03faab9c5c
DOFA: fix bug in patch embedding (#2256)
* DOFA: fix bug in patch embedding

* Update checkpoints
2024-09-01 11:43:07 +02:00
Adam J. Stewart c5380abe28
Docs: fix broken links and redirects (#2267) 2024-08-31 14:38:28 +02:00
Adam J. Stewart 16d90f29c8
Alternatives: update metrics (#2259)
* Alternatives: update metrics

* Add TerraTorch

* Don't include coverage of test files
2024-08-30 11:40:24 +02:00
dependabot[bot] cf52e25cda
Bump ruff from 0.6.2 to 0.6.3 in /requirements (#2263) 2024-08-29 21:16:45 +00:00
Nils Lehmann b9a09f5711
Add Digital typhoon dataset (#1748)
* analysis task dataset

* implement sequence sampling

* add outline datamodule

* add datamodule with two way splitting capabilities

* add plotting function

* download and verify

* add unit tests but they fail

* fix tests

* fix style

* trainer testing yaml

* test split logic

* fix tests

* fix tests2

* found bug

* try to fix mypy

* h5py error docs

* fix docs

* fix one mypy error

* mypy on test file

* fix coverage

* fix tests for trainers

* fix mypy

* try typed dict

* try to fix docs

* fix pytest

* linters

* suggested changes and normalization procedure

* regression target normalization

* update dataset splitting

* fix test

* quotes

* strings

* ruff

* quotes

* ruff format on all

* docs

* lazy import

* h5py

* h5py datamodule

* typo

* tests

* review

* pass tests

* fix tests

* list -> tuple

* mypy fix

* rename

* tests

* Remove Analysis

* min pandas 2.2.0

* resolve tests

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-08-29 11:29:04 +02:00
Adam J. Stewart e8e309f05b
Coverage: update to modern config flag (#2260) 2024-08-28 20:09:14 +02:00
Daniele Rege Cambrin ccc314cd88
Add CaBuAr dataset (#2235)
* 🆕 Added CaBuAr dataset

* 🆕 Added CaBuAr datamodule

* 🔨 Added CaBuAr datamodule test

* 🔨 Corrected CaBuAr typing and datamodule test

* 🔨 updated test, corrected docs, minor fixes to dataset and datamodule

* 🔨 CaBuAr test fixes
2024-08-28 15:57:58 +02:00
dependabot[bot] 042b75ea9c
Bump setuptools from 73.0.1 to 74.0.0 in /requirements (#2258) 2024-08-27 21:12:06 +00:00
Adam J. Stewart 0f37e8b85e
Rwanda Field Boundary: don't plot empty masks (#2254)
* Rwanda Field Boundary: don't plot empty masks

* Import sorting
2024-08-27 16:39:11 +02:00
Adam J. Stewart 451b5a5919
SkyScript: add new dataset (#2253)
* SkyScript: add new dataset

* Remove print statements

* Fix bug

* 100% coverage

* text -> caption

* Simpler tests

* Reformat
2024-08-27 16:38:45 +02:00
Adam J. Stewart 7ad9df8f32
Docs: emphasize multi-modal foundation models (#2236)
* Docs: emphasize multi-modal foundation models

* Subdirectory for weights files

* Update col widths
2024-08-27 16:20:18 +02:00
Yi-Chia Chang a757cf14fb
SatlasPretrain: ResNet50/152 and Swin_V2_T Weights (#2038)
* add SENTINEL2_MS_MI_SATLAS

* add SENTINEL2_MS_SI_SATLAS

* fix style

* ruff

* Add all SatlasPretrain models

* Get local tests passing

* Get local tests passing

* Fix remote tests

* Mock input channels in testing too

* Fix license

* Fix band order

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-08-27 15:58:49 +02:00
Nils Lehmann 2d6e27ebd0
Add GeoNRW dataset (#2209)
* dataset and module

* test with training

* add tests

* start the fight with mypy

* kick off tests

* class var ruff

* don't download

* forgot tests data

* already downloaded

* coverage

* review

* mypy

* docs

* docs

* suggestion

* plotting

* versionadded: 2 digits

* Type hint unnecessary

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-08-27 15:57:14 +02:00
Adam J. Stewart 6d758abf81
Dependabot: don't update timm (#2257) 2024-08-27 13:10:57 +02:00
Burak 27a981c8e9
RasterDataset: support date_str containing % character (#2233)
* temporary_percent_placeholder_utils

* make ruff happy

* Add tests and fix code

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-08-26 15:08:23 +00:00
dependabot[bot] fa95b7acba
Bump mypy from 1.11.1 to 1.11.2 in /requirements (#2252)
Bumps [mypy](https://github.com/python/mypy) from 1.11.1 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: mypy
  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>
2024-08-25 11:57:40 +02:00
dependabot[bot] ece75940c8
Bump segmentation-models-pytorch from 0.3.3 to 0.3.4 in /requirements (#2250)
* Bump segmentation-models-pytorch from 0.3.3 to 0.3.4 in /requirements

Bumps [segmentation-models-pytorch](https://github.com/qubvel/segmentation_models.pytorch) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/qubvel/segmentation_models.pytorch/releases)
- [Commits](https://github.com/qubvel/segmentation_models.pytorch/compare/v0.3.3...v0.3.4)

---
updated-dependencies:
- dependency-name: segmentation-models-pytorch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Bump timm too

---------

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>
2024-08-25 09:01:33 +00:00
Adam J. Stewart 95a1fec861
mypy: even more strict (#2241)
* mypy: even more strict

* dict is discouraged for arguments

* Don't use Any in sample/batch utils

* Fix transforms

* Revert "Don't use Any in sample/batch utils"

This reverts commit e7ac62960d.

* Fix remaining bugs
2024-08-23 17:13:08 +02:00
Adam J. Stewart 9935f9650a
Remove workarounds and comments for outdated bugs (#2244)
* Remove workarounds and comments for outdated bugs

* Undo one change

* Remove min-cons.old entirely
2024-08-23 13:26:23 +02:00
Adam J. Stewart 82680d585a
Rename tests_xview2 to tests_xview (#2247) 2024-08-23 13:25:52 +02:00
dependabot[bot] 6ab4f3f1c8
Bump ipywidgets from 8.1.3 to 8.1.5 in /requirements (#2246) 2024-08-22 23:49:41 +02:00
dependabot[bot] 6b7aa86d7e
Bump ruff from 0.6.1 to 0.6.2 in /requirements (#2245) 2024-08-22 23:49:21 +02:00
dependabot[bot] 2ed1a39983
Bump scipy from 1.14.0 to 1.14.1 in /requirements (#2243) 2024-08-21 22:56:05 +02:00
dependabot[bot] 83c135db7a
Bump setuptools from 72.2.0 to 73.0.1 in /requirements (#2240) 2024-08-20 23:43:09 +02:00
dependabot[bot] 5ea8a1f074
Bump lightly from 1.5.11 to 1.5.12 in /requirements (#2239) 2024-08-20 23:42:52 +02:00
dependabot[bot] c16503b123
Bump shapely from 2.0.5 to 2.0.6 in /requirements (#2238) 2024-08-20 23:42:30 +02:00
Isaac Corley 8d137526f7
Scale-MAE model (#2057)
* add scale-mae model and pretrained weights

* fix docs, mypy, and code coverage

* add scalemae to torch hub

* make res optional instead of required

* Remove ViT from the name

* Alphabetical order

* Doc bugs

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-08-19 18:50:36 +02:00
Yi Wang 2d0557f645
Add DeCUR RN50 weights (#2191)
* add resnet50 weights from decur

* update decur rn50 weights

* Alphabetical order

* Remove unneeded ignores

* update data transform for loading resnet50 sentinel 1 weights

* update formatting

* update formatting

* update ssl4eo-s12 transforms and naming

* update formatting

* update transforms definition comments

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-08-19 17:53:16 +02:00
Adam J. Stewart 067ae1af75
Ruff: enable ruff-specific rules (#2218)
* Ruff: enable ruff-specific rules

* Static class variables

* String colormap must be list

* String colormap must be list
2024-08-19 15:07:21 +02:00
Adam J. Stewart c26512e39d
GeoDataset: ignore other bands for separate files (#2222)
* GeoDataset: ignore other bands for separate files

* Ruff

* Mypy

* Check VSI paths too

Co-authored-by: Sieger Falkena <siegerfalkena@hotmail.com>

* Fix formatting

* Add support for / in URLs on Windows where path separator is \

---------

Co-authored-by: Sieger Falkena <siegerfalkena@hotmail.com>
2024-08-19 12:05:26 +02:00
Adam J. Stewart 880593e7ef
SpaceNet: add SpaceNet 8, radiant mlhub -> aws (#2203) 2024-08-17 20:49:48 +02:00
Adam J. Stewart 17b5ccf5ff
Redistribute NWPU datasets on Hugging Face (#2210)
* Redistribute NWPU datasets on Hugging Face

* unrar no longer needed in CI

* VHR-10: md5 monkeypatching is required
2024-08-17 17:01:44 +02:00
Adam J. Stewart a9c9af60d0
Testing: shared download_url fixture (#2232)
* Testing: shared download_url fixture

* Landsat tests no longer need monkeypatch

* Undo changes from other PR

* Remove unused import
2024-08-17 16:00:17 +02:00
Adam J. Stewart e702c8f4ae
LEVIRCD: data module tests without download (#2231)
* LEVIRCD: data module tests without download

* Skip args
2024-08-17 15:01:40 +02:00
Adam J. Stewart 294a59b4ff
Chesapeake: update to 2022 edition (#2214)
* Chesapeake: update to 2022 edition

* Hard-code cmap, don't want to write yet another test file

* Update tests

* Update datamodule

* Bug fix

* Update test config

* Fix plotting

* More classes

* Fix docs
2024-08-17 10:10:02 +02:00
Adam J. Stewart 57a28a9067
Fix failing Windows tests (#2225)
* Debug failing Windows tests

* Use bash shell for fast-fail

* Add azcopy.exe symlink to azcopy for Windows testing

* Try .py suffix

* Check default value of PATHEXT

* Remove .exe

* Prepend PATHEXT

* Set PATHEXT in conftest.py

* No symlinks

* Use path returned by shutil.which

* Change name to match shutil.which parameter

* Fix bug

* Try .bat file

* Revert changes

* Use output of which to run exe
2024-08-17 10:08:14 +02:00
dependabot[bot] 497ac959d1
Bump ruff from 0.6.0 to 0.6.1 in /requirements (#2230) 2024-08-17 00:27:35 +02:00
dependabot[bot] ab168e321d
Bump ruff from 0.5.7 to 0.6.0 in /requirements (#2229) 2024-08-15 22:41:08 +02:00
dependabot[bot] 5174f8ad36
Bump matplotlib from 3.9.0 to 3.9.2 in /requirements (#2227)
* Bump matplotlib from 3.9.0 to 3.9.2 in /requirements

Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.9.0 to 3.9.2.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.9.0...v3.9.2)

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

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

* Fix everything except dates

* Suppress remaining mypy errors

---------

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>
2024-08-14 15:22:12 +00:00
dependabot[bot] 912307aaf9
Bump nbsphinx from 0.9.4 to 0.9.5 in /requirements (#2228) 2024-08-14 00:20:36 +02:00
dependabot[bot] f36f4378c2
Bump setuptools from 72.1.0 to 72.2.0 in /requirements (#2226) 2024-08-14 00:20:16 +02:00
Adam J. Stewart e885ccc650
Testing: shared load_state_dict_from_url monkeypatch (#2223) 2024-08-13 19:31:06 +02:00
Adam J. Stewart 9406f6775b
Testing: suppress warnings (#2224) 2024-08-13 19:30:00 +02:00
Adam J. Stewart e973c1e3ca
Ruff: ensure all functions have type hints (#2217)
* Ensure all functions have type hints

* Fix Callable

* Undo notebook changes
2024-08-12 14:32:31 +02:00
Adam J. Stewart 96ef48139d
Data modules: don't download during tests (#2215) 2024-08-09 17:31:34 +02:00
dependabot[bot] a7bf94fd2f
Bump ruff from 0.5.6 to 0.5.7 in /requirements (#2216) 2024-08-09 11:07:37 +02:00
dependabot[bot] 8c02cec380
Bump lightly from 1.5.10 to 1.5.11 in /requirements (#2212)
Bumps [lightly](https://github.com/lightly-ai/lightly) from 1.5.10 to 1.5.11.
- [Release notes](https://github.com/lightly-ai/lightly/releases)
- [Commits](https://github.com/lightly-ai/lightly/compare/v1.5.10...v1.5.11)

---
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>
2024-08-07 12:49:56 +00:00