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

2183 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] b57abaad8e
Bump codecov/codecov-action from 4.6.0 to 5.0.2 (#2417) 2024-11-18 23:55:46 +01:00
dependabot[bot] 7b1f37772f
Bump ruff from 0.7.3 to 0.7.4 in /requirements (#2415) 2024-11-16 06:56:10 +01:00
dependabot[bot] ba0680a98b
Bump setuptools from 75.4.0 to 75.5.0 in /requirements (#2409) 2024-11-13 20:51:28 +00:00
dependabot[bot] f410f8a6e1
Bump torchmetrics from 1.5.2 to 1.6.0 in /requirements (#2407)
Bumps [torchmetrics](https://github.com/Lightning-AI/torchmetrics) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/Lightning-AI/torchmetrics/releases)
- [Changelog](https://github.com/Lightning-AI/torchmetrics/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Lightning-AI/torchmetrics/compare/v1.5.2...v1.6.0)

---
updated-dependencies:
- dependency-name: torchmetrics
  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-11-12 22:34:25 +01:00
Qiusheng Wu a027434eef
Add Annual NLCD dataset (#2387)
* Add Annual NLCD dataset

* Add fake test data

* Removed unused import

* Run  ruff check

* Improve _verrify function

* Run ruff check

* Update citation
2024-11-11 22:02:12 +01:00
dependabot[bot] 8f71d5e321
Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 (#2403)
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.11.0 to 1.12.2.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.2)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  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-11-11 22:00:49 +01:00
dependabot[bot] 5f1b72cb7e
Bump setuptools from 75.3.0 to 75.4.0 in /requirements (#2404)
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.3.0 to 75.4.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/v75.3.0...v75.4.0)

---
updated-dependencies:
- dependency-name: setuptools
  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-11-11 22:00:28 +01:00
dependabot[bot] f194254d2a
Bump torchmetrics from 1.4.3 to 1.5.2 in /requirements (#2399) 2024-11-08 23:37:44 +01:00
dependabot[bot] fe2fe7d614
Bump ruff from 0.7.2 to 0.7.3 in /requirements (#2400) 2024-11-08 23:37:25 +01:00
Caleb Robinson fa69674282
Attempting to remove defaultdict from the collation functions (#2398)
* Attempting to remove defaultdict from the collation functions

* Any(thing) goes
2024-11-08 13:14:26 +01:00
dependabot[bot] 3ea6089d08
Bump lightly from 1.5.13 to 1.5.14 in /requirements (#2397) 2024-11-07 22:23:28 +01:00
Ashwin Nair 69f0c70209
datamodules: Switch to kornia AugmentationSequential (#2147)
* Switch to kornia AugmentationSequential in datamodules

* Fix for classification & regression tests

* Fix for segmentation tests

* Revert inria batch_size

* Set keepdim=True

* Fix ssl4eo_benchmark

* Masks must not have a channel dimension

* Fix south africa dimensions

* Fix chesapeake dimensions

* Remove unused import

* mypy fixes & remove _Transform

* Fix quakeset

* mypy fix

* Fix chesapeake plot test

* mypy fix

* Fix SpaceNet aug

* Bump min version of kornia

* Remove conditional squeeze

* Fix for new datasets

* Update pyproject.toml

* Update tutorials

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-11-06 17:56:28 +01:00
dependabot[bot] 51c8d3646d
Bump kornia from 0.7.3 to 0.7.4 in /requirements (#2393)
Bumps [kornia](https://github.com/kornia/kornia) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/kornia/kornia/releases)
- [Changelog](https://github.com/kornia/kornia/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kornia/kornia/compare/v0.7.3...v0.7.4)

---
updated-dependencies:
- dependency-name: kornia
  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-11-05 21:38:11 +01:00
dependabot[bot] a248ad5cc2
Bump numpy from 2.1.2 to 2.1.3 in /requirements (#2391) 2024-11-04 21:57:27 +01:00
dependabot[bot] 208d4fe0d8
Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 (#2392) 2024-11-04 21:57:10 +01:00
Qiusheng Wu 05ea5138fd
Remove Chesapeake7 and Chesapeake13 (#2388) 2024-11-04 07:39:52 +01:00
Qiusheng Wu c767f1b12e
Fix typos (#2389) 2024-11-04 07:39:02 +01:00
dependabot[bot] 8e88e6d535
Bump ruff from 0.7.1 to 0.7.2 in /requirements (#2384) 2024-11-01 21:30:28 +00:00
Adam J. Stewart f76cb9de64
Test model bands (#2383) 2024-11-01 18:01:38 +01:00
Inderpreet Singh Parmar a47322299e
Add Consistent `bands` Metadata to Vision Transformer and ResNet Weights (#2376)
* Added bands metadata to vit.py and resnet.py

* Added bands metadata to vit.py and resnet.py

* Fix duplicate bands keys and sort imports

* Fix duplicate bands keys and sort imports

* Fix duplicate bands keys and sort imports

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Save local changes

* Addressed requested changes in PR

* Addressed requested changes in PR

* Addressed requested changes in PR

* Reorder fmow, add scale-mae

* Remove fMoW bands

* Remove duplicate comments

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-11-01 11:39:28 +01:00
dependabot[bot] d570711cf9
Bump the torch group in /requirements with 2 updates (#2378)
Bumps the torch group in /requirements with 2 updates: [torch](https://github.com/pytorch/pytorch) and [torchvision](https://github.com/pytorch/vision).


Updates `torch` from 2.5.0 to 2.5.1
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](https://github.com/pytorch/pytorch/compare/v2.5.0...v2.5.1)

Updates `torchvision` from 0.20.0 to 0.20.1
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](https://github.com/pytorch/vision/commits)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: torch
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: torch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 22:44:36 +01:00
dependabot[bot] 9c5d725086
Bump pytest-cov from 5.0.0 to 6.0.0 in /requirements (#2380)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  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-10-29 22:44:16 +01:00
dependabot[bot] d1a58f3de5
Bump setuptools from 75.2.0 to 75.3.0 in /requirements (#2379)
Bumps [setuptools](https://github.com/pypa/setuptools) from 75.2.0 to 75.3.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/v75.2.0...v75.3.0)

---
updated-dependencies:
- dependency-name: setuptools
  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-29 22:43:56 +01:00
Nils Lehmann b2b651644c
Add CROMA pretrained model (#2370)
* add croma

* coverage

* single line test

* Fix type hints

* review

* Update croma.py

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

* review

* typo

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-10-29 09:36:36 +01:00
dependabot[bot] 0e82cc7033
Bump actions/setup-python from 5.2.0 to 5.3.0 (#2374)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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-28 22:37:00 +01:00
dependabot[bot] ded776ee3d
Bump actions/cache from 4.1.1 to 4.1.2 (#2375)
Bumps [actions/cache](https://github.com/actions/cache) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/cache
  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-28 22:15:57 +01:00
dependabot[bot] 01bf8c9691
Bump actions/checkout from 4.2.1 to 4.2.2 (#2373)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [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.1...v4.2.2)

---
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-28 21:10:55 +00:00
dependabot[bot] e7c8992da3
Bump actions/setup-node from 4.0.4 to 4.1.0 (#2372)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.4...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-28 21:10:17 +00:00
Nils Lehmann c746cac1f7
Add SpaceNet6 datamodule (#2367)
* spacenet 6 datamodule

* datamodule base class

* mypy

* fix tests

* fix docs

* fix tests again

* uncomment test

* magic comma

* review

* class -> instance

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-10-27 09:19:36 +00:00
Nils Lehmann 52fb6e3de7
Add FTW DataModule (#2368) 2024-10-27 08:57:30 +01:00
dependabot[bot] b61788c417
Bump ruff from 0.7.0 to 0.7.1 in /requirements (#2369) 2024-10-25 08:54:52 +02:00
dependabot[bot] f2ed33a407
Bump mypy from 1.12.1 to 1.13.0 in /requirements (#2363) 2024-10-24 08:53:08 +02:00
Nils Lehmann 67fe198c78
Add CaFFe Dataset (#2350)
* glacier ds

* typo

* quick review

* ordinal class map and plotting

* rename to caffe

* more rename

* datamodule test without trainer

* forgot a rename

* test for dm

* test loader

* docs target dataset name

* mask class values

* requests and plotting colors
2024-10-23 15:58:20 +02:00
Adam J. Stewart 607b3c5fa1
Codecov: move configuration file to subdirectory (#2361) 2024-10-22 18:58:37 +02:00
dependabot[bot] a46a5a67b4
Bump mypy from 1.12.0 to 1.12.1 in /requirements (#2359) 2024-10-21 22:59:05 +02:00
dependabot[bot] 3559517a11
Bump the torch group in /requirements with 2 updates (#2353)
* Bump the torch group in /requirements with 2 updates

Bumps the torch group in /requirements with 2 updates: [torch](https://github.com/pytorch/pytorch) and [torchvision](https://github.com/pytorch/vision).


Updates `torch` from 2.4.1 to 2.5.0
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](https://github.com/pytorch/pytorch/compare/v2.4.1...v2.5.0)

Updates `torchvision` from 0.19.1 to 0.20.0
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](https://github.com/pytorch/vision/compare/v0.19.1...v0.20.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: torch
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: torch
...

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

* Remove unused ignores

---------

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-10-17 21:28:25 +00:00
dependabot[bot] ee0e086f80
Bump ruff from 0.6.9 to 0.7.0 in /requirements (#2354) 2024-10-17 23:07:45 +02:00
Adam J. Stewart a0a2585182
SatlasPretrain: add new dataset (#2248)
* SatlasPretrain: add new dataset

* Add versionadded

* Fix bugs

* Add tests

* Fix Windows tests

* Simpler Windows fix

* Remove unnecessary variable

* Landsat files must be resized

* Add more checksums

* Ruff

* Download from AWS

* Add missing import

* Add NAIP checksums

* Add Landsat and Sentinel-1 checksums

* All S3 all the time

* Fix Windows tests

* Use pandas

* Use good_images to find directory instead of glob

* Return timestamp

* Update tasks, fix NAIP resolution
2024-10-17 11:09:06 +02:00
dependabot[bot] 90e824a989
Bump setuptools from 75.1.0 to 75.2.0 in /requirements (#2351) 2024-10-16 23:05:30 +02:00
dependabot[bot] 9382e45dae
Bump pillow from 10.4.0 to 11.0.0 in /requirements (#2349) 2024-10-16 08:22:20 +02:00
Nils Lehmann 3cfa88115f
Add MMEarth dataset (#2202)
* more tests

* more comments

* files for dm

* lazy import

* metadata in raw format

* mypy

* mypy another one

* ruff

* class var

* requested changes

* ds_version -> subset

* separate Sentinel 1 ascending and descending

* remove mmearth from datamodule docs

* separate reading item for subclasses

* sentinel1 only return available data

* remove split from dataset

* fix tests

* requests

* requests

* resolution

* more band logic

* review

* typo

* Update torchgeo/datasets/mmearth.py

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

* attribute documentation

* another try

* remove reference

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-10-15 22:32:36 +02:00
dependabot[bot] b8413b65ec
Bump mypy from 1.11.2 to 1.12.0 in /requirements (#2348) 2024-10-14 23:19:50 +02:00
dependabot[bot] c93d1900e2
Bump actions/cache from 4.1.0 to 4.1.1 (#2347) 2024-10-14 20:36:40 +00:00
Nils Lehmann 6f72b3d359
DOFA: save parameters as instance attributes (#2346)
* add embed_dim as attr

* also add depth

* add other attributes

* move params

* order
2024-10-14 13:03:30 +02:00
dependabot[bot] 6a84a61f42
Bump torchmetrics from 1.4.2 to 1.4.3 in /requirements (#2344) 2024-10-10 20:44:58 +00:00
Adam J. Stewart e0dcd3333a
Tutorials: sign NAIP download (#2343)
* Getting Started: fix NAIP download

* Import planetary_computer

* Help torchvision figure out filename
2024-10-10 19:34:51 +02:00
Adam J. Stewart c5c7fcc06a
Set up continuous deployment for PyPI releases (#2342) 2024-10-10 17:46:56 +02:00
Jakub b8d4da7e7a
Docs: scikit-eo is a new alternative library (#2340)
* related to #2335

* adds more data on scikit-eo

* updates the tables based on the info from @adamjstewart

* adds url
2024-10-10 13:52:34 +02:00
dependabot[bot] 43792b4355
Bump numpy from 2.1.1 to 2.1.2 in /requirements (#2339)
Bumps [numpy](https://github.com/numpy/numpy) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v2.1.1...v2.1.2)

---
updated-dependencies:
- dependency-name: numpy
  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 22:58:02 +02:00
dependabot[bot] 4bab81b6c4
Bump actions/cache from 4.0.2 to 4.1.0 (#2337)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4.0.2...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/cache
  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 20:32:33 +00:00