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

1661 Коммитов

Автор SHA1 Сообщение Дата
Ashwin Nair d52a779e74 Fix for pre-commit (#1781) 2024-03-02 21:19:02 +00:00
Nils Lehmann f713ba813a Remov Argmax Computation for torchmetrics in Classification and Segmentation (#1777)
* remove y_hat_hard

* argmax vs softmax :)
2024-03-02 21:16:39 +00:00
Caleb Robinson b2369d6bd4 Updates to SustainBenchCropYield dataset (#1756)
* Updating download, fixing __getitem__ speed

* Formatting

* Update torchgeo/datasets/sustainbench_crop_yield.py
2024-03-02 20:53:48 +00:00
Adam J. Stewart 348ae7ccf2 SustainBenchCropYield: fix download (#1755) 2024-03-02 20:52:35 +00:00
Isaac Corley d147be1279 ObjectDetectionTask: increase test coverage for torchvision 0.14+ (#1739)
* fix test coverage in trainers validation step

* add tests for multilabelclassificationtask

* Minimal bug fix for now

* Simpler random code

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-03-02 20:52:12 +00:00
Adam J. Stewart bae69883e3 CI: fix lightning-utilities deprecation warning (#1733) 2024-03-02 20:50:27 +00:00
isaaccorley 88b4d291cc increment version 2024-03-02 20:44:17 +00:00
Adam J. Stewart 6694cbd45d
Fix another path/root inconsistency (#1717) 2023-11-10 10:25:06 -06:00
Adam J. Stewart 4630477af6 CI: use unique names for release caches (#1723) 2023-11-10 17:20:10 +01:00
Nils Lehmann b9eb632d11 band name also in std 2023-11-10 15:47:03 +01:00
Nils Lehmann 19d0de15b8 band name eurosat dataset and datamodule 2023-11-10 15:38:57 +01:00
Dylan Stewart 4d2e1cd188 Trainers: skip weights and augmentations when saving hparams (#1670)
* Update base.py to fix for custom augmentations

* Allow subclasses to ignore specific arguments

* Fix typing

* Save to self.weights

* pyupgrade

* Add test

* Save weights

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-11-10 15:35:11 +01:00
dependabot[bot] a84dce7abc Bump matplotlib from 3.8.0 to 3.8.1 in /requirements (#1708)
* Bump matplotlib from 3.8.0 to 3.8.1 in /requirements

Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.8.0...v3.8.1)

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

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

* plt.show now has type hints

---------

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>
2023-11-10 15:29:01 +01:00
dependabot[bot] 01de750885 Bump lightning[pytorch-extra] from 2.0.9.post0 to 2.1.0 in /requirements (#1662)
* Bump lightning[pytorch-extra] from 2.0.9.post0 to 2.1.0 in /requirements

Bumps [lightning[pytorch-extra]](https://github.com/Lightning-AI/lightning) from 2.0.9.post0 to 2.1.0.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/2.0.9.post0...2.1.0)

---
updated-dependencies:
- dependency-name: lightning[pytorch-extra]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Remove type ignores

* Capture more warnings

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-11-10 15:22:53 +01:00
dependabot[bot] e0917cafae Bump lightning[pytorch-extra] from 2.1.0 to 2.1.1 in /requirements (#1720)
Bumps [lightning[pytorch-extra]](https://github.com/Lightning-AI/lightning) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/2.1.0...2.1.1)

---
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>
2023-11-10 15:20:43 +01:00
Nils Lehmann fe4f06be08 update lightning version 2023-11-10 15:14:26 +01:00
Nils Lehmann 0d6c517f77 revert band alignment 2023-11-10 15:09:14 +01:00
Ashwin Nair 0c08943d07 Fix formatting for BioMassters (#1718) 2023-11-10 14:43:22 +01:00
Nils Lehmann 04dc51bc9b Add SSL4EO-L Benchmark to docs (#1719)
* add benchmark SSL4EOL to docs

* proposal entry table

* readable name

* put full number of classes in table
2023-11-10 14:43:04 +01:00
dependabot[bot] b454de3c79 Bump torchvision from 0.15.2 to 0.16.0 in /requirements (#1619)
* Bump torchvision from 0.15.2 to 0.16.0 in /requirements

Bumps [torchvision](https://github.com/pytorch/vision) from 0.15.2 to 0.16.0.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](https://github.com/pytorch/vision/compare/v0.15.2...v0.16.0)

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

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

* Bump torch too

* Ignore warning

---------

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>
2023-11-10 14:38:22 +01:00
Adam J. Stewart f116116a4e CI: fix RAR backend installation (#1697) 2023-11-10 12:58:41 +01:00
Nils Lehmann 31b422ea4f Update README with paragraph about available pretrained weights (#1716)
* paragraph about pretrained models

* paragraph about pretrained models

* suggested changes

* Update README.md

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

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-11-06 15:22:15 +01:00
Robin Cole 7a912363be Remove configure_callbacks (#1647)
* Remove configure_callbacks

* Remove unused imports
2023-11-06 15:21:58 +01:00
MengluTao d1e5a0e70d Fix for Blank Images in plot due to Float Tensor Ranges (#1712)
* fix: blank image when using plot

* black check
2023-11-06 15:21:35 +01:00
Nils Lehmann 57b028ce5e Fix Download Link AGB Live Woody Biomass dataset (#1713)
* fix link

* one line link
2023-11-06 15:21:04 +01:00
Adrian Tofting 5c4c7168f2 Add check if path is vsi (#1612)
* Add check if path is vsi

* Add url to reference for apache vsi syntax

* Add missing check to if

* Copy rasterio SCHEMES definition into torchgeo

* Check all schemes, not only last

* Simplify method path_is_vsi

* Add tests

* Remove print

* Update test names

* Add missing comma in list

* Update torchgeo/datasets/utils.py

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

* Update torchgeo/datasets/utils.py

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

* Use pytest tmp_path for test

* Warn if some of input paths are invalid

* Update docstring for mocked class

* Handle tests failing due to UserWarning

* Remove unnecessary filterwarning

* Test CustomGeoDataset instead of MockRasterDataset

* Merge two similar tests

* str instead of as_posix

Wait with pathlib syntax

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

---------

Co-authored-by: Adrian Tofting <adrian@vake.ai>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-11-06 15:20:44 +01:00
Hitesh Tolani bb3d77a2f7 Fixed ``path`` and ``root`` inconsistency (#1704) 2023-11-06 15:20:20 +01:00
kaybe20 4c8a1b277f Fix all Trainers to support PyTorch DataLoaders (#1703)
* Fix all Trainers to support PyTorch DataLoaders

* Add DataLoader Fix For MultiLabelClassification

---------

Co-authored-by: Kay Benkert <kbenkert@mail.uni-paderborn.de>
2023-11-06 15:19:56 +01:00
Adam J. Stewart 5dba70014e SSL4EO: convert script from MiB to MB (#1669) 2023-11-06 15:19:37 +01:00
Robin Cole a6a11fd5b8 EuroSATDataModule: set mean/std based on bands (#1681)
* Use dicts to generate mean and std

* correctly pass bands

* black format

* Remove unused import

* Simplify

* Import all bands
2023-11-06 15:19:16 +01:00
Robin Cole 1b48cb0ef8 Fix classes in EuroSAT (#1650)
* Fix classes

* Black fix

* Align docstring class names

* remove classes

* remove resisc45 classes

* remove ucmerced classes
2023-11-06 15:18:42 +01:00
Adam J. Stewart 964c02d487 MapInWild: prevent download during testing (#1657) 2023-11-06 15:18:22 +01:00
Adam J. Stewart c37fbaff6f Move conf files to experiment subdirs (#1660) 2023-11-06 15:18:01 +01:00
Burak 6441c83600 Align Sentinel-2 band names in EuroSAT and transforms tutorial (#1646)
* Align Sentinel-2 band names in EuroSAT and transforms tutorial

Fix #1635

* 'pr_eurosat'
2023-11-06 15:17:44 +01:00
Robin Cole 788785e284 Format to float (#1656) 2023-11-06 15:17:26 +01:00
Adam J. Stewart 6b67369240 CI: minimize storage usage (#1658)
* CI: minimize storage usage

* Ignore warning in Python 3.9

* newer pytest required

* bump pytest-cov too
2023-11-06 15:17:05 +01:00
Robin Cole b4b2289d3e Pass save_config_kwargs to LightningCLI (#1625) 2023-11-06 15:16:44 +01:00
Robin Cole 77940a137d Update info on LightningCLI (#1628)
* Add info

* Address comments
2023-11-06 15:16:22 +01:00
Burak fb706b0b78 SemanticSegmentationTask Signature in README (#1608)
Update SemanticSegmentationTask's signature in README.md after 0.5
2023-11-06 15:15:52 +01:00
Nils Lehmann d778c77968 update version patch release 2023-11-06 14:56:16 +01:00
Adam J. Stewart fe546bf160
Hack to avoid GeoDataset bug 2023-09-30 23:18:38 +02:00
Adam J. Stewart cb3abe5b1c
Fix? ChesapeakeCVPR tests 2023-09-30 23:13:09 +02:00
Adam J. Stewart ee72322567
Isort fixes 2023-09-30 22:26:57 +02:00
Adam J. Stewart da9783ff4c
Skip tests that require optional deps 2023-09-30 22:25:31 +02:00
Adam J. Stewart e3b3544234
Warnings not raised because not final layer 2023-09-30 22:16:21 +02:00
Adam J. Stewart 5df8a66af0
Fix caching hash 2023-09-30 21:50:50 +02:00
Adam J. Stewart 36768fca78
0.5.0 release 2023-09-30 20:52:06 +02:00
Nils Lehmann 18139b440b
SSL4EO-L Weights (#1482)
* ssl4eo landsat 18 weights

* add resnet and vit moco weights under new hf repo

* add simclr ssl checkpoint

* add docs

* order models and new csv tablesf for docs

* adjust spacing of table

* lots of numbers and formatting

* missing resnet etm-sr weights

* fix failing tests

* check slow tests

* Fix URL checksum

* fix weight names

* Use 2 digits for all metrics

* hyphen -> en dash

* Use 2 digits for all metrics

* Landsat first

* EOL char before EOF char

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-09-30 13:50:43 -05:00
Adam J. Stewart f8f3f8a541
Don't document param change for new datasets (#1602) 2023-09-30 10:56:55 -05:00
Adam J. Stewart 0162f0a700
SKIPP'D: document version added (#1601) 2023-09-30 10:56:40 -05:00