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

2183 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] b16f169089
Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#2338)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.5.0 to 4.6.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/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-10-07 22:30:30 +02:00
dependabot[bot] fb503fc3ed
Bump actions/checkout from 4.2.0 to 4.2.1 (#2336)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [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.2.0...v4.2.1)

---
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-10-07 20:28:35 +00:00
dependabot[bot] 78145d7a3c
Bump ruff from 0.6.8 to 0.6.9 in /requirements (#2334) 2024-10-04 23:36:01 +02:00
dependabot[bot] 17f7a5f0e1
Bump pyproj from 3.6.1 to 3.7.0 in /requirements (#2331) 2024-10-01 23:02:48 +02:00
dependabot[bot] b3845c4dc7
Bump actions/checkout from 4.1.7 to 4.2.0 (#2328) 2024-10-01 08:15:59 +02:00
Adam J. Stewart 0dbc0f1b93
TorchGeo is not yet compatible with rasterio 1.4 (#2327) 2024-09-30 15:04:41 +02:00
Caleb Robinson b2f9936d7a
Add Fields Of The World field boundary delineation dataset (#2296)
* Initial commit

* Formatting changes

* Reformatting how self.files is stored

* Added pyarrow dependency for reading parquet files

* Load splits from existing parquet files

* ruff

* Adding tests

* Adding tests

* Ruff

* Update torchgeo/datasets/ftw.py

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

* Update torchgeo/datasets/ftw.py

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

* Update torchgeo/datasets/ftw.py

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

* Using einops

* Use tuple for valid country list

* Add pandas parquet

* Added pyarrow req to min dataset

* pandas bump

* Add paper link

* Add a pyarrow importorskip

* No minversion

* ClassVar not needed

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-09-29 17:15:31 +00:00
Adam J. Stewart 3e968a98df
NAIP: update resolution (#2325)
* NAIP: update resolution

* Wider range
2024-09-28 22:05:22 +02:00
Adam J. Stewart 742b9008ad
Tests: set matplotlib backend locally too (#2326) 2024-09-28 22:04:34 +02:00
Adam J. Stewart 69f91a2857
BaseTask: fix load_from_checkpoint, ignore 'ignore' (#2317)
* BaseTask: fix load_from_checkpoint, ignore 'ignore'

* Fix ObjectDetectionTask
2024-09-28 15:26:18 +02:00
Caleb Robinson 1a980788cb
Removing eval in model weight API (#2323)
* Removing eval

* Extend the model_weights dict with sub weights

* Just search through the sub weights enum

* Ruff

* Fix bug and mypy

* Test coverage

* Formatting

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-09-28 12:58:44 +00:00
dependabot[bot] da691c4568
Bump ruff from 0.6.7 to 0.6.8 in /requirements (#2320) 2024-09-26 23:23:02 +02:00
dependabot[bot] 822c204f73
Bump h5py from 3.12.0 to 3.12.1 in /requirements (#2322) 2024-09-26 23:22:08 +02:00
dependabot[bot] 74af76297d
Bump h5py from 3.11.0 to 3.12.0 in /requirements (#2319) 2024-09-26 09:23:13 +02:00
dependabot[bot] ea8306c4fc
Bump lightly from 1.5.12 to 1.5.13 in /requirements (#2318) 2024-09-25 09:18:55 +02:00
Sieger Falkena 1ea8e297f0
Bugfix: wrong test assertion (#2316)
* Assertion should be equal

* replace torch.manual_seed with torch.Generator().manual_seed

* Change manual see in example notebook

* ruff

* format tests, remove print
2024-09-24 17:57:12 +02:00
Caleb Robinson 19988f968c
Adding tensorboard to CI req so we don't spend time installing it in the first cell of our tutorial notebooks (#2315) 2024-09-24 17:07:04 +02:00
dependabot[bot] e932902e0e
Bump ruff from 0.6.6 to 0.6.7 in /requirements (#2313) 2024-09-23 21:11:12 +00:00
dependabot[bot] a6365edeaa
Bump actions/setup-node from 4.0.3 to 4.0.4 (#2312) 2024-09-23 23:01:03 +02:00
Sieger Falkena dfebdae158
Sampling random generator (#2309)
* Add random generator

* Add tests for seed

* pass generator every sampler

* Simplification of tests, docstring updates

* try to pass docs build

* forgotten updates

* equal should have been unequal
2024-09-23 14:47:17 +00:00
Mathias Baumgartinger 59e65312a2
docs: update recommended strategy for models with input and output img and msk) (#2293)
* docs: update recommended strategy for models with input and output (img and msk)

Updates in the custom raster dataset tutorial and the actual file documentation. The previous recommended approach (overriding `__get_item__`) is outdated.

Refs: https://github.com/microsoft/torchgeo/discussions/2292#discussioncomment-10635633

* fix: grammar and formatting

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

* fix: grammar

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

---------

Co-authored-by: Mathias Baumgartinger <hiasbaum@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-09-23 15:49:59 +02:00
Adam J. Stewart 2f95ad61ab
Contributing: update dataset CSV file location (#2304) 2024-09-21 08:43:39 +02:00
Adam J. Stewart d763ba5a64
pytest: silence numpy 2 warnings (#2302) 2024-09-21 08:39:03 +02:00
dependabot[bot] 10ccc593a7
Bump pandas from 2.2.2 to 2.2.3 in /requirements (#2310)
Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](https://github.com/pandas-dev/pandas/compare/v2.2.2...v2.2.3)

---
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>
2024-09-20 13:59:34 -07:00
dependabot[bot] 9cc8c7be2c
Bump ruff from 0.6.5 to 0.6.6 in /requirements (#2311)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.5 to 0.6.6.
- [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/0.6.5...0.6.6)

---
updated-dependencies:
- dependency-name: ruff
  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-20 13:59:13 -07:00
Sieger Falkena 43d0d94f3f
GH actions tutorials - Install TorchGeo from checked out repo (#2306)
* Remove required.txt and install torchgeo from checked-out repo

* keep required.txt
2024-09-20 13:37:12 +02:00
Adam J. Stewart d440c568df
DataModules: use persistent workers for parallel data loading (#2291) 2024-09-17 10:41:42 -07:00
Adam J. Stewart 8747acafc1
git blame: ignore prettier reformat (#2299)
* git blame: ignore prettier reformat

* Fix file that was merged during review process
2024-09-17 12:15:24 +02:00
Adam J. Stewart 6a5aaf4b93
Prettier: prefer single quotes (#2280)
* rettier: prefer single quotes

* Move lockfile to root directory

* Use single quotes in config files
2024-09-17 11:36:10 +02:00
dependabot[bot] 945136200a
Bump fiona from 1.10.0 to 1.10.1 in /requirements (#2297)
Bumps [fiona](https://github.com/Toblerity/Fiona) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/Toblerity/Fiona/releases)
- [Changelog](https://github.com/Toblerity/Fiona/blob/main/CHANGES.txt)
- [Commits](https://github.com/Toblerity/Fiona/compare/1.10.0...1.10.1)

---
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>
2024-09-16 23:10:36 +02:00
dependabot[bot] fa3764c56f
Bump setuptools from 74.1.0 to 75.1.0 in /requirements (#2298)
Bumps [setuptools](https://github.com/pypa/setuptools) from 74.1.0 to 75.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v74.1.0...v75.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  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-09-16 23:10:17 +02:00
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