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

967 Коммитов

Автор SHA1 Сообщение Дата
Adam J. Stewart 44fa413246
Revert "Try removing timeit"
This reverts commit 6222b63c88.
2022-09-08 14:11:10 -05:00
Adam J. Stewart 6222b63c88
Try removing timeit 2022-09-08 12:44:16 -05:00
Adam J. Stewart 40fe019630
Tutorials: overhaul Custom Raster Dataset (#772) 2022-09-08 12:42:13 -05:00
dependabot[bot] 9ce62dca09
Bump pytorch-lightning from 1.7.4 to 1.7.5 in /requirements (#771) 2022-09-07 23:30:23 -05:00
Adam J. Stewart 9223d058d3
Tutorials: clean up file names, execution codes, and output (#770) 2022-09-07 22:53:53 -05:00
Caleb Robinson 262b5a717a
Fix transforms notebook (#767)
* Fix transforms notebook

* Black
2022-09-07 22:53:37 -05:00
Isaac Corley 318ab2f30d
IDTReeS - Clip boxes outside of image bounds (#760)
* reverse idtrees coords

* clip boxes to image bounds

* undo coordinate reversal

* add filter_boxes function

* filter boxes outside of bounds in idtrees

* format

* Revert utils.py

* flake8 fixes

* fix mypy errors

* fix bug overriding some labels

* fix image size

* Remove version added line

* add function overloads

* add comments for clarity

* use id counter for test set
2022-09-07 22:53:15 -05:00
Ashwin Nair 2d234a749c
Fix torchvision constraint (#761) 2022-09-06 11:31:04 -05:00
Adam J. Stewart 723640d303
Sentinel-2: add support for files downloaded from USGS EarthExplorer (#754)
* Sentinel-2: add support for files downloaded from USGS EarthExplorer

* Style fix

* Fix driver

* Properly close filehandles

* Sentinel is uint16, not int32

* Fix import order

* Use correct resolution for each image
2022-09-05 14:23:12 -05:00
Adam J. Stewart 6d316d325c
Tutorials: replace cell magic with shell command (#756)
* Tutorials: replace cell magic with shell command

* Fix NDVI calls

* Ignore errors in nbmake

* Ignore warning for now

* Tutorials: trainers uses radiant-mlhub dataset

* Revert "Tutorials: trainers uses radiant-mlhub dataset"

This reverts commit 229ab28673.

* Reverse CUDA conditional
2022-09-05 14:22:23 -05:00
Adam J. Stewart 7bbd68caec
Tutorials: trainers require optional datasets (#759) 2022-09-05 14:22:10 -05:00
Adam J. Stewart 10d459fd9f
Reverse CUDA conditional 2022-09-05 13:56:59 -05:00
Adam J. Stewart da8e8a4ac1
Ignore errors in nbmake 2022-09-03 16:40:26 -07:00
Adam J. Stewart 027ec17a4b
Tutorials: replace cell magic with shell command 2022-09-03 15:32:30 -07:00
dependabot[bot] 9206756592
Bump kornia from 0.6.6 to 0.6.7 in /requirements (#746)
* Bump kornia from 0.6.6 to 0.6.7 in /requirements

Bumps [kornia](https://github.com/kornia/kornia) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/kornia/kornia/releases)
- [Changelog](https://github.com/kornia/kornia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kornia/kornia/compare/v0.6.6...v0.6.7)

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

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

* Update bbox coordinate order

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>
2022-09-03 14:12:03 -07:00
Adam J. Stewart cf29728484
radiant-mlhub 0.5+ not yet supported 2022-09-03 12:44:46 -07:00
Adam J. Stewart a6f3e08793
setuptools 65 is now tested (#753) 2022-09-03 12:33:14 -07:00
Rémi Tavon 6718041367
GridGeoSampler: change stride of last patch to sample entire ROI (#630)
* Adjust minx/miny with a smaller stride for the last sample per row/col and issue warning

* style and mypy fixes

* black test fix

* Adjust minx/miny with a smaller stride for the last sample per row/col and issue warning

* style and mypy fixes

* black test fix

* single.py: adapt gridgeosampler to sample beyond limit of ROI for a partial patch (to be padded)
test_single.py: add tests for multiple limit cases (see issue #448)

* format for black and flake8

* format for black and flake8

* once again, format for black and flake8

* Revert "Adjust minx/miny with a smaller stride for the last sample per row/col and issue warning"

This reverts commit cb554c67

* adapt unit tests, remove warnings

* flake8: remove warnings import

* Address some comments

* Simplify computation of # rows/cols

* Document this new feature

* Fix size of ceiling symbol

* Simplify tests

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-09-03 12:32:59 -07:00
Adam J. Stewart 7ac65a256d
Fix float rounding issues (#736)
* Fix rounding bugs

* Mypy fixes

* Undo some changes

* Undo some changes

* mypy fixes

* Fix tests

* Increase size of ETCI2021 fake data

* Undo model changes

* line length fix
2022-09-03 12:32:35 -07:00
dependabot[bot] bc6aa0c7ae
Bump ipywidgets from 7.7.1 to 8.0.1 in /requirements (#729)
* Bump ipywidgets from 7.7.1 to 8.0.1 in /requirements

Bumps [ipywidgets](https://github.com/jupyter-widgets/ipywidgets) from 7.7.1 to 8.0.1.
- [Release notes](https://github.com/jupyter-widgets/ipywidgets/releases)
- [Commits](https://github.com/jupyter-widgets/ipywidgets/compare/7.7.1...8.0.1)

---
updated-dependencies:
- dependency-name: ipywidgets
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump max bound

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>
2022-09-03 12:32:16 -07:00
Adam J. Stewart b19d193fec
Tutorials: use IntersectionDataset in sampler (#707) 2022-09-03 12:32:00 -07:00
Adam J. Stewart 48bb2d4809
Fix NDVI and SWI calculation (#714)
* Fix NDVI and SWI calculation

* Escape LaTeX code
2022-09-03 12:31:36 -07:00
dependabot[bot] 87e40d8f1b
Bump setuptools from 63.4.3 to 64.0.0 in /requirements (#715)
* Bump setuptools from 63.4.3 to 64.0.0 in /requirements

Bumps [setuptools](https://github.com/pypa/setuptools) from 63.4.3 to 64.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v63.4.3...v64.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump maximum setuptools version

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>
2022-09-03 12:30:41 -07:00
Caleb Robinson 5518216a9b
Update non_geo_datasets.csv (#699) 2022-09-03 12:29:52 -07:00
dependabot[bot] bc23e21009
Bump pytorch-lightning from 1.6.5 to 1.7.0 in /requirements (#697)
* Bump pytorch-lightning from 1.6.5 to 1.7.0 in /requirements

Bumps [pytorch-lightning](https://github.com/Lightning-AI/lightning) from 1.6.5 to 1.7.0.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/1.6.5...pl/1.7.0)

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

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

* Remove protobuf restrictions

* LightningModule was moved

* Mypy fixes

* Ensure same behavior

* Fix docs

* Silence warnings

* Change error message location

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-09-03 12:29:33 -07:00
Adam J. Stewart 6d40b08795
Bump torchgeo version 2022-09-03 12:28:04 -07:00
dependabot[bot] e6437fe7cc
Bump flake8 from 4.0.1 to 5.0.2 in /requirements (#695)
* Bump flake8 from 4.0.1 to 5.0.2 in /requirements

Bumps [flake8](https://github.com/pycqa/flake8) from 4.0.1 to 5.0.2.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.2)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Fix line length

* Bump flake8 in setup.cfg

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-09-03 12:27:38 -07:00
dependabot[bot] 3d32c9b50e
Bump mypy from 0.961 to 0.971 in /requirements (#682)
* Bump mypy from 0.961 to 0.971 in /requirements

Bumps [mypy](https://github.com/python/mypy) from 0.961 to 0.971.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.961...v0.971)

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

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

* Bump max support mypy release

* Bump max support mypy release

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-09-03 12:27:20 -07:00
dependabot[bot] a6cb57f774
Bump segmentation-models-pytorch from 0.2.1 to 0.3.0 in /requirements (#692)
* Bump segmentation-models-pytorch from 0.2.1 to 0.3.0 in /requirements

Bumps [segmentation-models-pytorch](https://github.com/qubvel/segmentation_models.pytorch) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/qubvel/segmentation_models.pytorch/releases)
- [Commits](https://github.com/qubvel/segmentation_models.pytorch/compare/v0.2.1...v0.3.0)

---
updated-dependencies:
- dependency-name: segmentation-models-pytorch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Support both smp 0.2 and 0.3

* Fix import order

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-09-03 12:25:08 -07:00
Ashwin Nair ec72bfe39b
Fix coordinate swap bug in IDTReeS (#683)
* Fix coordinate swap

* Test coverage
2022-09-03 12:24:46 -07:00
Teo Cherici 1044078e04
Fixes VectorDataset rounding bug causing sample mask size mismatch (#675)
* Fixes VectorDataset rounding bug causing sample mask size mismatch

* removes unnecessary casting to int
2022-09-03 12:23:38 -07:00
Adam J. Stewart 2a1f0febd1
Try newer nbmake 2022-07-11 10:02:36 -07:00
Adam J. Stewart cc553c4bb5
Document more changes 2022-07-10 20:16:06 -07:00
Adam J. Stewart de525c0d18
Document when parameters were added 2022-07-10 17:24:30 -07:00
Adam J. Stewart a8ed695d7e
Black fixes 2022-07-10 15:35:07 -07:00
Adam J. Stewart 9714169c33
Try explicitly passing key 2022-07-10 15:19:36 -07:00
Adam J. Stewart 539dce2cbc
Try older nbmake 2022-07-10 13:12:46 -07:00
Adam J. Stewart 333c6176e1
Try older nbmake 2022-07-10 13:09:32 -07:00
Adam J. Stewart 47b83f9a2a
Fix tests without optional dependencies 2022-07-10 13:03:46 -07:00
Adam J. Stewart d810355118
Fix tests without optional dependencies 2022-07-10 12:55:25 -07:00
Adam J. Stewart f8b3723ea9
Re-escape regex patterns 2022-07-10 12:48:09 -07:00
Adam J. Stewart 0601aec8e6
Colon was problematic 2022-07-10 12:04:11 -07:00
Adam J. Stewart 7917ee30a9
Escape characters require literal strings 2022-07-10 11:54:22 -07:00
Adam J. Stewart 6f1f79b54c
Escape regex in warning ignore 2022-07-10 11:48:27 -07:00
Adam J. Stewart 1ae004ea1d
Fix release tests 2022-07-10 11:44:04 -07:00
Adam J. Stewart 5da727c55d
Slightly different distutils deprecation warning 2022-07-10 10:51:17 -07:00
Adam J. Stewart 68e2186cde
0.3.0 release 2022-07-10 10:38:59 -07:00
Adam J. Stewart 7e7443a00f
Landsat: add plot method (#661) 2022-07-09 22:22:51 -07:00
Adam J. Stewart ee657bad62
Rename VisionDataset to NonGeoDataset (#627)
* Rename VisionDataset to NonGeoDataset

* Keep VisionDataset but add DeprecationWarning

* mypy fix

* More fixes

* More fixes

* cast types

* Undo cast

* Fix usage in test

* No idea why...

* Update more datasets
2022-07-09 18:28:24 -07:00
Nils Lehmann 2d1488326e
Million-AID dataset (#455)
* millionaid

* test

* separator

* remove type ignore

* type in test

* requested changes

* typos and glob pattern

* task argument description

* add test md5 hash

* Remove download logic

* Type ignore no longer needed

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-07-09 22:05:10 +00:00