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

65 Коммитов

Автор SHA1 Сообщение Дата
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
Yi-Chia Chang 394597c15f
fix test doc (#2142) 2024-06-28 10:14:53 -07:00
Oluwabusayo Jacobs 3c57f33ae6
Update CLI script for test (#2091) 2024-05-27 12:55:54 +00: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
Adam J. Stewart 0e385dd800
README: add Hugging Face badge (#1957) 2024-03-27 08:47:36 +04:00
Ashwin Nair 6d2e9a483b
Update VHR-10 snippet (#1920)
* Update VHR-10 snippet

* Remove augs
2024-03-02 14:32:00 -06:00
Adam J. Stewart ddb4958339
README: add podcast episode (#1806) 2024-02-22 08:48:54 +01:00
Adam J. Stewart 26fd1f579b
README: add PyTorch badge (#1882) 2024-02-15 09:45:11 -06:00
Adam J. Stewart e626f8b6a2
README: add OSGeo badge (#1880) 2024-02-14 21:54:20 +01:00
Konstantin Klemmer 55b3c50891
load_state_dict does not return the model (#1503)
* Update pretrained_weights.ipynb

Fixed an error in the state dict loading of the turorial and added a comment on the num_classes parameter when creating timm models.

* Update docs/tutorials/pretrained_weights.ipynb

* Update utils.py

* Import Tuple from typing
* Change return of `load_state_dict` from `model` to `Tuple[List[str], List[str]]`, matching the return of the standard PyTorch builtin function.

* Update pretrained_weights.ipynb

Remove example of loading pretrained model without prediction head (`num_classes=0`).

* Update README.md

Adapt new `load_state_dict` function.

* Mimic return type of builtin load_state_dict

* Modern type hints

* Blacken

* Try being explicit

---------

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-02-06 03:55:15 -06:00
Adam J. Stewart 643bc7a457
README: add color lexing to bibtex (#1820)
* README: add color lexing to bibtex

* Try again

* Try bibtex
2024-01-29 13:29:20 +00:00
Adam J. Stewart 8bf072833e
Fix Spack link in README (#1804) 2024-01-12 10:01:52 +00:00
Nils Lehmann de56a5933c
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 13:31:45 +00:00
Adam J. Stewart 78c2f176dc
Fix CITATION.cff format (#1633)
* Fix CITATION.cff format

* Update month in README
2023-10-08 15:55:28 -05:00
Robin Cole c83181f38a
Update info on LightningCLI (#1628)
* Add info

* Address comments
2023-10-06 14:04:56 +00:00
Burak f74ab781d3
SemanticSegmentationTask Signature in README (#1608)
Update SemanticSegmentationTask's signature in README.md after 0.5
2023-10-02 14:49:02 -05:00
Adam J. Stewart 540084061e
Advertise TorchGeo Slack (#1549)
* Advertise TorchGeo Slack

* Add color and logo
2023-09-11 17:05:06 -05:00
Isaac Corley 1973d7765d
Segmentation Pretrained Weights (#1046)
* add pretrained weights loading for the segmentation encoder

* Updating config files to use new pretrained arg style

* fix loading weights enum to encoder

* I have no idea what I'm doing with these tests

* tests passing

* update docstring

* add the tests back in dummy

* add tests

---------

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2023-05-03 21:10:20 +00:00
Adam J. Stewart 8c98167bda
README: update Lightning trainer examples (#1211) 2023-04-03 13:44:23 -05:00
dependabot[bot] 392d46737c
Bump pytorch-lightning[extra] from 1.9.4 to 2.0.0 in /requirements (#1178)
* Bump pytorch-lightning[extra] from 1.9.4 to 2.0.0 in /requirements

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

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

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

* Remove deprecated features

* pytorch_lightning -> lightning

* bump radiant-mlhub too

* isort fix

* lightning does not yet have public type hints

* More ignores

* blanket ignore

* blanket ignore

* Fix function typo

---------

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-03-16 11:14:48 -05:00
Adam J. Stewart e2680b479c
File rename: nwpu.py -> vhr10.py (#1030)
* File rename: nwpu.py -> vhr10.py

* Update more locations

* Name change in several other places

* Add NWPU only to docstring

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2023-01-23 11:45:45 -08:00
Adam J. Stewart 34680c942d
Citation: arXiv -> SIGSPATIAL (#927)
* Citation: arXiv -> SIGSPATIAL

* Update README

* No journal recognized

* Trying to get the bibtex to render correctly

* Follow schema more closely

* Update README

* Fix conference location

* Update README

* Update link

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2022-12-01 06:20:06 -08:00
Adam J. Stewart 6f9589dc07
DataModules: pass kwargs directly to datasets (#730)
* Datamodules: pass kwargs directly to datasets

* Rename root_dir -> root in config files

* Fix datamodule tests

* Fix mypy

* Fix tutorial

* Specify all kwarg keys

* Fix bands vs. band_set

* root_dir -> root

* Document **kwargs
2022-10-01 16:33:38 -05:00
Adam J. Stewart 3748f4f86c
Remove duplicated imports 2022-07-08 16:48:38 -07:00
Adam J. Stewart 627473c609
Better README (#626)
* Better README

* Update description
2022-06-29 22:25:59 -07:00
Adam J. Stewart 8b3e5812de
Landsat: add support for all Level-1 and Level-2 products (#504)
* Landsat: allow use of non-SR bands

* Fix citation

* The more citation the better
2022-04-20 11:06:04 -05:00
Adam J. Stewart 51430647b2
Remove sphinx CI test (#292)
* Remove sphinx CI test

* Move mypy back to tests section

* Fix bad rebase
2021-12-17 16:55:20 -08:00
Caleb Robinson 5d407b76b5
Overhaul BoundingBox and ZipDataset classes (#144)
* Adding a UnionDataset

* Adding contains method to BoundingBox

* Finishing UnionDataset

* Add __contains__ method

* Overhaul BoundingBox, add set arithmetic

* mypy fixes

* pydocstyle fixes

* Ignore erroneous pydocstyle warnings

* rtree only supports tuples, not BoundingBoxes

* mypy fixes

* Use custom collate function to handle BoundingBoxes

* Add back support for Python 3.6

* Add tests for all new BoundingBox features

* Rename ZipDataset to IntersectionDataset

* Merge indices of IntersectionDataset, auto-convert CRS/res

* Get tests to pass

* Fix more tests

* Test more of RasterDataset/VectorDataset directly

* Increase UnionDataset test coverage

* IntersectionDataset stacks tensors, UnionDataset merges tensors

* Support collating dicts with differing keys, add tests

* Style fixes

* Samplers: compute intersection between index and ROI

* Update README with example usage

* GeoDataset addition is deprecated

* Add note about CRS/res

* More documentation for Intersection/UnionDatasets

* Use collate function in tutorial

* Don't use multiple workers

* Fix typo

* Drop support for adding GeoDatasets

* Remove unused import

* Add comment explaining coverage config settings

* Collation function needed for benchmark script

* Add more explanation to README

* Correct Landsat 8 bands

* Print warning when changing CRS/res

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-12-03 16:40:50 -06:00
Adam J. Stewart 4795a09183
Use bibtex format auto-generated by GitHub 2021-11-17 22:39:54 -06:00
Caleb Robinson 3b074236d0
Update README.md 2021-11-17 20:26:20 -08:00
Adam J. Stewart ad6c4b5377
Add citation information 2021-11-17 22:13:31 -06:00
Adam J. Stewart 7c97060b8d
Add conda badge to README 2021-11-16 14:53:06 -06:00
Adam J. Stewart c9b01290a5
Add Spack badge 2021-11-08 07:41:08 -06:00
Adam J. Stewart 94e00ad5d5
Add PyPI badge 2021-11-07 22:59:15 -06:00
Adam J. Stewart 740d4f87a3
0.1.0 release (#226)
* 0.1.0 release

* Train deps needed for release testing

* Update development status

* setup.py should not be run directly

* Test more trainers

* Fix local docs build

* Update installation instructions

* Specify test data dir in config

* Fix tutorial docs

* Trainers should default to num_workers=0, download=False

* Correct location for root_dir

* Try different GDAL name

* Try again

* Various fixes to release tests

* Update pip installs in tutorials

* Fix some bugs

* Config file not being picked up

* Get back to 100% test coverage

* Added correct weight string to UCMerced

* yolo fix

* yolo fix pt 2

* yolo fix 2 pt. 1

* Simplify tests a bit

* Make the trainer notebook look stupid

* UCMerced should download by default in the trainers

* Revert

* Fix logo/author, include LICENSE in upload

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2021-11-07 22:05:58 -06:00
Adam J. Stewart 5a7c80fb0f
TropicalCyclone dataset: use label for sample key 2021-11-02 16:10:50 +00:00
Adam J. Stewart 481e68e8ef
TropicalCyclone dataset: use target for sample key (#213) 2021-10-30 16:35:52 -05:00
Adam J. Stewart cc53ee2e8a Move contribution guide to documentation 2021-09-22 09:20:58 -07:00
Caleb Robinson 682c35b94a Updates to pre-commit section 2021-09-22 09:20:58 -07:00
Caleb Robinson 2c48eea46b Actually added pre-commit instructions 2021-09-22 09:20:58 -07:00
Caleb Robinson b49bda03a1 Adding instructions for new contributors 2021-09-22 09:20:58 -07:00
Adam J. Stewart 161e9de2cc
Add installation instructions (#153)
* Add installation instructions

* Comment out instructions that require a stable release
2021-09-22 09:41:52 -05:00
Caleb Robinson cb7f0c9039
Fixed typo 2021-09-10 10:21:16 -07:00
Adam J. Stewart 77d251668a
Add codecov badge 2021-09-03 16:10:20 -05:00
Adam J. Stewart 9ac9d18453
Add documentation badge 2021-09-02 16:10:45 -05:00
Adam J. Stewart 4d9643124f
Add Spack installation instructions 2021-09-02 15:41:20 -05:00
Caleb Robinson 7371fc0f4e Updates to README 2021-09-02 15:17:03 -05:00
Caleb Robinson dcff173fef Getting ready for public release 2021-09-02 15:17:03 -05:00
Adam J. Stewart dd2df6cee1
Make logo bigger 2021-08-30 14:55:20 -05:00
Adam J. Stewart 9147467fd7
Make logo smaller 2021-08-30 14:54:55 -05:00