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

2102 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 0dcb7a7ce8
Bump torchmetrics from 1.4.1 to 1.4.2 in /requirements (#2295) 2024-09-13 23:22:02 +02:00
dependabot[bot] 5bcc195b40
Bump ruff from 0.6.4 to 0.6.5 in /requirements (#2294) 2024-09-13 23:21:45 +02:00
Caleb Robinson 94960bbcf6
Adds the LandCoverAI100 dataset and datamodule for use in semantic segmentation notebooks (#2262)
* Add dataset and datamodule

* Add docs

* Tests

* Ran ruff one time

* Fixture needs a params kwarg

* Make dataset work

* Add versionadded to datamodule

* Add conf file to test new datamodule

* Test datamodule

* Changing dataset URL

* Update main hash
2024-09-11 13:48:24 -07:00
dependabot[bot] de315490b7
Bump pytest from 8.3.2 to 8.3.3 in /requirements (#2290)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [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/8.3.2...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  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-09-10 16:00:45 +00:00
Adam J. Stewart 95486c3dc9
Dependabot: only update npm lockfile (#2277) 2024-09-10 17:27:51 +02:00
Adam J. Stewart a6f8169982
Docs: installation-agnostic prettier usage (#2279) 2024-09-10 17:27:26 +02:00
Adam J. Stewart 891f192637
Datasets: support os.PathLike (#2273) 2024-09-10 17:27:04 +02:00
Adam J. Stewart d4a7b7286f
pytest: set default --cov, --cov-report (#2275)
* pytest: set default --cov, --cov-report

* Prevent ambiguity between packages and directories
2024-09-10 17:15:24 +02:00
Adam J. Stewart 6cee6b4a84
Ruff: remove NPY tests (#2287) 2024-09-06 17:29:15 +02:00
dependabot[bot] 4aef8fb252
Bump ruff from 0.6.3 to 0.6.4 in /requirements (#2288) 2024-09-06 00:15:22 +02:00
Caleb Robinson 8649b6073e
Update stats for OSCD (#2282) 2024-09-05 07:38:42 -07:00
dependabot[bot] d477d5b3ee
Bump numpy from 1.26.4 to 2.1.1 in /requirements (#2274) 2024-09-05 09:46:15 +02:00
dependabot[bot] a1d0927534
Bump the torch group in /requirements with 2 updates (#2284) 2024-09-05 09:23:10 +02:00
dependabot[bot] aaf27c810f
Bump rasterio from 1.3.10 to 1.3.11 in /requirements (#2285) 2024-09-04 22:45:25 +02:00
dependabot[bot] 93e2fa972a
Bump fiona from 1.9.6 to 1.10.0 in /requirements (#2286) 2024-09-04 22:45:06 +02:00
Adam J. Stewart e38bcccab7
Prettier: ignore cache directories (#2278) 2024-09-04 10:36:33 -07:00
Adam J. Stewart ecead0e197
Docs: move dataset CSV files to subdir (#2281) 2024-09-04 10:36:03 -07:00
Adam J. Stewart 6576b40019
GeoDataset: allow a mix of str and pathlib paths (#2270)
* GeoDataset: allow a mix of str and pathlib paths

* Update type hints

* Simpler str conversion
2024-09-03 16:36:44 +02:00
dependabot[bot] da6ff04a77
Bump setuptools from 74.0.0 to 74.1.0 in /requirements (#2271) 2024-09-02 22:57:05 +02:00
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