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

1952 Коммитов

Автор SHA1 Сообщение Дата
Robin Cole d91b3913f5
Update num_classes parameter description in ObjectDetectionTask class (#2101)
* Update num_classes parameter description in ObjectDetectionTask class

* Update num_classes parameter description in SemanticSegmentationTask class
2024-05-30 19:11:48 +02:00
dependabot[bot] 4dbb177629
Bump lightly from 1.5.4 to 1.5.5 in /requirements (#2098)
Bumps [lightly](https://github.com/lightly-ai/lightly) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/lightly-ai/lightly/releases)
- [Commits](https://github.com/lightly-ai/lightly/compare/v1.5.4...v1.5.5)

---
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-05-30 10:44:49 +02:00
Burak 1268993bc0
EuroSAT Subclass with Longitude-Based Splits (#2074)
* spatialspliteurosat

* address the comments

* make ruff happy

* make ruff happier

* ruff-ing

* address comments

* add test

* missing comma

* add to init

* make ruff happy

* ruff-ing

* fix a silly mistake

* Update torchgeo/datasets/eurosat.py

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

* Update torchgeo/datamodules/eurosat.py

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

* raw to resolve

* spatial mean and std

* eurosat dataset and datamodule rst

* add the datamodule to rst

* corect the typo in rst

* lots of typos before morning coffee

* add dataloader to init

* make isort  happy

* swap order spatial and 100

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-05-29 15:51:43 +02:00
Robin Cole 6a9cd53969
Update VHR-10 dataset plotting (#2092)
* Update VHR10 dataset visualization method

* Update VHR10 info in readme

* isort

* Missing annotations handling in plotting

* Update VHR10 dataset handling and visualization

* remove whitespace

* Fix whitespace issue in VHR10 dataset handling

* black format

* ruff format

* revert readme changes
2024-05-29 14:37:07 +02:00
dependabot[bot] 9cf5f0ff7d
Bump ruff from 0.4.5 to 0.4.6 in /requirements (#2095) 2024-05-29 00:07:03 +02:00
dependabot[bot] fddd078e54
Bump ipywidgets from 8.1.2 to 8.1.3 in /requirements (#2096) 2024-05-29 00:06:47 +02:00
Oluwabusayo Jacobs 3c57f33ae6
Update CLI script for test (#2091) 2024-05-27 12:55:54 +00:00
Adam J. Stewart a87eadbfb1
GlobBiomass: several bug fixes (#2086)
* GlobBiomass: several bug fixes

* 万 -> K
2024-05-25 22:41:31 +02:00
Adam J. Stewart 9539fc837a
SSL4EO-L Benchmark: test len (#2084) 2024-05-25 20:32:09 +02:00
Adam J. Stewart cc2b860326
AgriFieldNet: fix dataset length (#2087)
* AgriFieldNet: fix dataset length

* Need more images to split data module

* Update test len
2024-05-25 20:31:50 +02:00
Adam J. Stewart b7f0cdea37
South Africa Crop Type: fix dataset length (#2088)
* South Africa Crop Type: fix dataset length

* Need more images to split data module

* Update test len
2024-05-25 20:31:10 +02:00
Adam J. Stewart 6986763352
Datasets: test length (#2089)
* Datasets: test length

* Add Sentinel too

* Double the files
2024-05-25 20:29:52 +02:00
dependabot[bot] 5cfbd6512d
Bump ruff from 0.4.4 to 0.4.5 in /requirements (#2080)
* Bump ruff from 0.4.4 to 0.4.5 in /requirements

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.5)

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

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

* min version of numpy now supports type hints

* pre-commit: update ruff

---------

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-05-23 21:35:27 +00:00
dependabot[bot] 2aecee9c7a
Bump scipy from 1.13.0 to 1.13.1 in /requirements (#2081)
Bumps [scipy](https://github.com/scipy/scipy) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](https://github.com/scipy/scipy/compare/v1.13.0...v1.13.1)

---
updated-dependencies:
- dependency-name: scipy
  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-05-23 23:09:28 +02:00
Adam J. Stewart 91bbb83bf9
Datasets: add CLI support (#2064)
* Datasets: add CLI support

* Return completed process

* Fix return type

* More powerful azcopy mock
2024-05-23 12:01:15 +02:00
dependabot[bot] 39cc9b6ed4
Bump lightning[pytorch-extra] from 2.2.4 to 2.2.5 in /requirements (#2077) 2024-05-22 20:36:23 +00:00
dependabot[bot] 3d070617bc
--- (#2075) 2024-05-21 21:20:46 +00:00
dependabot[bot] 1bf2c5172b
--- (#2073) 2024-05-20 21:12:52 +00:00
dependabot[bot] 349a1e5745
--- (#2072) 2024-05-20 23:11:05 +02:00
dependabot[bot] b0612db4ff
--- (#2071) 2024-05-20 23:10:43 +02:00
Yi-Chia Chang 96507bd3f1
Fix South America Soybean Filename Glob and Regex (#2062)
* fix filename glob and regex

* remove unwanted file

* update test data

* update dataset test

* remove zip file

* remove additional directory

* fix ruff check and format
2024-05-17 17:05:53 +02:00
dependabot[bot] 1a0fae9564
Bump lightly from 1.5.3 to 1.5.4 in /requirements (#2066) 2024-05-16 23:35:35 +02:00
dependabot[bot] db3b96ab74
Bump matplotlib from 3.8.4 to 3.9.0 in /requirements (#2065) 2024-05-16 23:35:18 +02:00
dependabot[bot] 89e13cba23
Bump torchmetrics from 1.4.0 to 1.4.0.post0 in /requirements (#2061) 2024-05-15 21:15:23 +00:00
Adam J. Stewart 189dabd0b6
Datasets: improve lazy import error msg for missing deps (#2054)
* Datasets: improve lazy import error msg for missing deps

* Add type annotation

* Use lazy imports throughout datasets

* Fix support for older scipy

* Fix support for older scipy

* CI: test optional datasets on every commit

* Update minversion and fix tests

* Double quotes preferred over single quotes

* Undo for now

* Fast-fail during dataset initialization

* Remove extraneous space

* MissingDependencyError -> DependencyNotFoundError
2024-05-15 18:03:54 +02:00
dependabot[bot] ac16f4968a
Bump pyvista from 0.43.7 to 0.43.8 in /requirements (#2059) 2024-05-14 23:26:42 +02:00
Adam J. Stewart 25fb9ccfb9
RasterDataset: add control over resampling algorithm (#2015)
* RasterDataset: add control over resampling algorithm

* Fix type hints

* cubic -> bilinear

* Ruff: single quotes
2024-05-13 17:00:45 +02:00
Adam J. Stewart 5976bd15bf
L8 Biome: convert to IntersectionDataset (#2058) 2024-05-13 16:23:18 +02:00
dependabot[bot] 171cb919e7
Bump codecov/codecov-action from 4.3.0 to 4.3.1 (#2042)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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-05-13 14:18:43 +00:00
Adam J. Stewart d80134815a
GeoDataset: don't warn about missing files for downloadable datasets (#2033) 2024-05-13 16:10:20 +02:00
Adam J. Stewart 84511d4848
L7 Irish: convert to IntersectionDataset (#2034)
* L7 Irish: convert to IntersectionDataset

* Fix tests

* Fix docs

* Add dates to masks

* Require exact match

* Increase test coverage

* Fix type hints
2024-05-13 16:07:45 +02:00
Adam J. Stewart dbfe7fa864
torch.hub: add support for DOFA and Swin models (#2052)
* torch.hub: add support for DOFA and Swin models

* Fix tests

* Add *args support to DOFA to match other models
2024-05-12 09:28:28 +02:00
dependabot[bot] 94bd5c76aa
Bump ruff from 0.4.3 to 0.4.4 in /requirements (#2055) 2024-05-09 22:52:39 +02:00
Adam J. Stewart 6da8ef6017
Move dataset errors to separate file (#2053)
* Move dataset errors to separate file

* Fix reference to old import path
2024-05-08 12:40:15 +02:00
Adam J. Stewart c2781e5f12
Avoid use of __all__ (#2051) 2024-05-08 10:51:20 +02:00
dependabot[bot] 9186ff0a6a
Bump actions/checkout from 4.1.4 to 4.1.5 (#2046) 2024-05-07 08:43:35 +02:00
dependabot[bot] b30d37e8f6
Bump pyvista from 0.43.6 to 0.43.7 in /requirements (#2047) 2024-05-07 08:43:15 +02:00
dependabot[bot] 1879372879
Bump torchmetrics from 1.3.2 to 1.4.0 in /requirements (#2048) 2024-05-07 08:42:57 +02:00
dependabot[bot] 7dd79900ea
Bump ruff from 0.4.2 to 0.4.3 in /requirements (#2049) 2024-05-07 08:42:38 +02:00
dependabot[bot] 1d62953889
Bump nbsphinx from 0.9.3 to 0.9.4 in /requirements (#2050) 2024-05-07 08:42:20 +02:00
Adam J. Stewart 49f369f618
git blame: ignore revs (#2044) 2024-05-03 23:55:07 +02:00
Adam J. Stewart b09122f3e4
Ruff: prefer single quotes over double quotes (#2001)
* Ruff: prefer single quotes over double quotes

* Apply ruff format
2024-05-03 19:30:14 +02:00
Slawek Bierwiaczonek bd9c75798e
Prettier formatter (#2018)
* Formatted with Prettier

* Added package-lock.json

* Removed the .idea folder

* Removed version

* Added .prettierignore with tests/data/*

* Added npm updates

* Updated prettier

* Update style.yaml

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

* Updated linters section

* Added Prettier hook

* Added Prettier hook

* Added exclude regex

* Update .prettierignore

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

* Added package.json and package-lock.json

* Added npm ci flag

* Formatted with Prettier

* Updated .gitignore

* Reverted changes in data folder

* Added .idea to ignored entries

* Delete package-lock.json from root

* Added cache dependency path

* Formatted with Prettier

* Updated tests.yaml

* Updated regex

* Updated actions/checkout to v4.1.4

* Updated SECURITY and dependabot

* Removed .idea and requirements/node_modules

* Updated package files

* Changed .yaml files format

* Added EOL

* Updated contributing.rst

* Updated style.yaml

* Updated style CI

* Added node_modules to ignored entries

* Updated npm install command

* Added *.json root files to ignored entries

* Updated prettier version range

* Updated prettier install command

* Relocated # Node stuff

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-05-03 15:35:34 +02:00
dependabot[bot] 7596e7592e
Bump lightning[pytorch-extra] from 2.2.3 to 2.2.4 in /requirements (#2041)
Bumps [lightning[pytorch-extra]](https://github.com/Lightning-AI/lightning) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/2.2.3...2.2.4)

---
updated-dependencies:
- dependency-name: lightning[pytorch-extra]
  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-05-02 21:21:09 +00:00
dependabot[bot] 42e42a9dd7
Bump pytest from 8.1.2 to 8.2.0 in /requirements (#2035) 2024-04-29 23:04:07 +02:00
dependabot[bot] c61e0bf0a5
Bump einops from 0.7.0 to 0.8.0 in /requirements (#2036) 2024-04-29 23:03:50 +02:00
dependabot[bot] 83d5735c45
Bump pyvista from 0.43.5 to 0.43.6 in /requirements (#2037) 2024-04-29 23:03:31 +02:00
dependabot[bot] 2639591c76
Bump pytest from 8.1.1 to 8.1.2 in /requirements (#2032) 2024-04-27 00:35:36 +02:00
dependabot[bot] 9fdbb09f40
Bump codecov/codecov-action from 3.1.6 to 4.3.0 (#2030)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.6 to 4.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.6...v4.3.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 15:04:11 +02:00
dependabot[bot] 5111d4a8bb
Bump actions/checkout from 4.1.3 to 4.1.4 (#2031)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [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/v4.1.3...v4.1.4)

---
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>
2024-04-26 14:41:51 +02:00