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

45 Коммитов

Автор SHA1 Сообщение Дата
isaac c9a788a666
Indices Transforms (#127)
* draft indices transform

* import sort

* added AugmentationSequential wrapper for dicts

* updated indices

* fix dim concat bugs

* format

* add kornia dependency

* add augmentationsequenal unit tests

* add augmentationsequential support for boxes and mask dtypes

* add indices tests

* Draft indices tutorial notebook

* move notebook to tutorials folder

* mypy fixes

* fix bug when only image key used in AugmentationSequential

* Created using Colaboratory

* added tutorial to docs

* format

* added kornia master branch dependency'

* refactor notebook to use % cell magic and python to download files

* revert kornia version

* install kornia master branch for mypy checks

* update mypy github action install order

* fix divide by zero error in indices

* Created using Colaboratory

* fix nbsphinx errors

* add TODO to remove kornia in tests action

* format setup.cfg

* minor fixes to indices

* remove unecessary variable

* update mask to cast to original dtype

* removed unused ignore comment

* added gray/rgb/multispectral unit tests

* added tests with boxes

* Created using Colaboratory

* Created using Colaboratory

* fix mypy issues

* updated notebooks in docs

* Updates to tutorials

* Created using Colaboratory

* Created using Colaboratory

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-09-28 17:04:56 -05:00
Adam J. Stewart 0820b2b131
Reduce number of files listing deps (#154)
* Reduce number of files listing deps

* Install cython before anything else

* Fix missing deps before install

* Fix typo in setup.cfg extra option

* Add Read the Docs config file

* nbmake only used for testing docs, not building docs
2021-09-22 09:41:00 -05:00
isaac 77094c21fa
Add ADVANCE dataset (#133)
* updated docs

* added torchaudio as optional dependency

* added sample data for tests

* added dataset

* added advance unit tests

* replaced torchaudio with scipy.io.wavefile.read

* Revert "added torchaudio as optional dependency"

This reverts commit 960d94f67533e83facc080d9a6f9b965a8820294.

* updated to lazy import scipy, updated docstring

* add pytest.importorskip check for scipy

* add sample audio wav file creation details

* add scipy dependency

* downgrading scipy dep to scipy>=1.5.4

* fix pytest.importorskip to return none

* update scipy import error message

* fixed dummy audio data dims

* downgrading scipy dep to scipy>=0.9.0

* added tests for missing h5py

* format

* fixed missing import test

* Update tests/datasets/test_advance.py

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-09-19 23:00:56 +00:00
Isaac Corley 41df0b583f added einops dependency 2021-09-07 21:59:22 -05:00
Caleb Robinson 04355ecc2f Formatting 2021-09-03 17:43:41 -05:00
Caleb Robinson b8ba2ebc2b Versiuons 2021-09-03 17:43:41 -05:00
Caleb Robinson ef83f7b309 Updating versions of shapely and pyproj 2021-09-03 17:43:41 -05:00
Caleb Robinson 5ee2419d65 pyproj 3.0 to keep 3.6 support everywhere 2021-09-03 17:43:41 -05:00
Caleb Robinson e9f14a3f46 Updating versions and reasoning on shapely and pyproj 2021-09-03 17:43:41 -05:00
Caleb Robinson 50e6b3e1d3 Adding shapely dependency 2021-09-03 17:43:41 -05:00
Caleb Robinson acaf415b65 Adding pyproj dependency 2021-09-03 17:43:41 -05:00
Caleb Robinson 3e296991e2 Removing some headers 2021-08-31 13:25:05 -05:00
Adam J. Stewart da7e120350 Add license header to all files 2021-08-31 13:25:05 -05:00
Adam J. Stewart 5a80799bd4 Use nbmake to test notebooks 2021-08-25 11:19:33 -05:00
Adam J. Stewart d7d901c866 Consolidate notebooks 2021-08-25 11:19:33 -05:00
Adam J. Stewart 36c3e17154 Add tutorials to documentation 2021-08-25 11:19:33 -05:00
Adam J. Stewart d5b4a5c06e Document minimum supported dependency versions 2021-08-16 16:00:54 -05:00
Adam J. Stewart 6b00f460d2 Benin: don't hardcode tile transform 2021-08-09 21:43:35 -07:00
Adam J. Stewart 8b193d9c30 Jupyterlab needed to visualize notebooks 2021-08-04 10:10:25 -07:00
Adam J. Stewart 955189a709 Use conda to install fiona 2021-08-04 10:10:25 -07:00
Adam J. Stewart 54d42b9022 Add CanadianBuildingFootprints dataset 2021-08-04 10:10:25 -07:00
Caleb Robinson 10f6af0a68 We should use strict package ordering 2021-08-02 23:22:54 +00:00
Caleb Robinson a54359dcde
Refactor trainer logic (#54)
* Moving task specific configuration logic from train.py into respective classes

* Small fixes

* Adding basic FCN model for benchmarking

* Adding simple FCN model

* Removing OrderedDict from model definitions

* Adding torchgeo.models to docs

* Adding model tests

* Making all the formatters happy

* Adding optimizer options to landcoverai

* Fixing conda environment I think

* How do you feel about a Makefile, Adam?

* Formatting

* Adding some documentation to the readme

* Sanity check command in README

* Fixes in the landcoverai datamodule to make multi-GPU training possible

* Closing figures that we send to Tensorboard

* Fix sphinx missing target warning

* Fix pytest coverage

* Fix flake8

* Update torchgeo/models/__init__.py

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-07-30 20:58:49 -05:00
Adam J. Stewart b6925f6215 Drop Python 3.6 support
Although torchgeo is currently compatible with Python 3.6, our
dependencies are not. The rest of the scientific software stack now only
supports Python 3.7+, making it impossible for us to test Python 3.6
effectively.
2021-07-30 12:03:38 -05:00
Adam J. Stewart 72d667687b
Remove dependency on cartopy (#51)
* Remove dependency on cartopy

* Remove extent and bbox
2021-07-27 10:19:50 -07:00
Adam J. Stewart 79abd392df torchvision 0.10 no longer has a conflict 2021-07-23 17:35:06 -05:00
Adam J. Stewart ad1adab4bb Add plotting support 2021-07-21 09:37:28 -05:00
Caleb Robinson b8b6e69cce Making onda only install a subset of the packages, rely on pip for the rest 2021-07-20 18:16:01 +00:00
Caleb Robinson e460d5af23
Pytorch lightning based training framework (#42)
* Initial commit of lightning based model training framework

* Made save directories work correctly

* Add pytorch-lightning dependency and some comments

* More documentation and cosmetic tweaks

* Typo fix

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

* Fix some style issues

* Fix pydocstyle

* Add missing sklearn dependency

* Try to get conda environment working

* Add documentation

* Ignore missing target reference

* Make train.py executable

* Ignore logs and output dirs

* Raise exceptions instead of returning

* Move all argparse stuff to set_up_parser

* Add tests for train.py

* Fix Python 3.6 compatibility

* Fix support for older versions of pytorch-lightning

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-07-17 16:57:18 -07:00
Adam J. Stewart ad54d16781
pydocstyle 6.1+ required for pyproject.toml support 2021-07-16 17:19:21 +00:00
Adam J. Stewart ab132f0639
Fix failing docs tests 2021-07-15 15:30:37 +00:00
Adam J. Stewart 2f440e3365 rasterio >= 0.3 required for windowed reading support 2021-07-14 14:45:03 -05:00
Adam J. Stewart 73aae2c0f0 Add missing affine dependency 2021-07-14 14:45:03 -05:00
Adam J. Stewart 1c22132583 rtree 0.5.0+ needed for 3D index support 2021-07-14 14:45:03 -05:00
Adam J. Stewart 145fdceeca
Shapely >= 1.2.9 required for shapely.geometry.box 2021-07-08 12:50:34 -05:00
Caleb Robinson 01e65ff4e8 Alphabetizing dependencies 2021-07-07 17:03:23 -05:00
Caleb Robinson 0668682112 Fixing tests, adding h5py as dependency 2021-07-07 17:03:23 -05:00
Adam J. Stewart 9e1e9bc247
Leave out version for now 2021-07-06 11:40:22 -05:00
Adam J. Stewart dce0ffd215
Fix pip bug 2021-07-06 11:17:07 -05:00
Adam J. Stewart b2960989da
black 21+ required for py39 target version support 2021-07-05 21:00:27 +00:00
Adam J. Stewart 30ceef8c06 isort 4.3.5+ required for pyproject.toml support 2021-07-04 17:20:31 -05:00
Adam J. Stewart 6485889873
pytest 6.0+ required for pyproject.toml support 2021-07-04 21:17:46 +00:00
Adam J. Stewart abb2252cb0
mypy 0.900+ required for pyproject.toml support 2021-07-04 21:13:59 +00:00
Caleb Robinson 8b5ffd0a36 Moved some of the dependencies to pip install to get the newest versions 2021-06-24 22:01:38 +00:00
Caleb Robinson 5e9d843071 Added conda install 2021-06-24 21:49:31 +00:00