torchgeo/tests/losses
Adam J. Stewart 9489b61372
Remove type ignores for PyTorch (#460)
* Remove type ignores for PyTorch

* Mypy fixes for pytest MonkeyPatch

* Black

* Ignore Identity

* Generic fixes

* Remove unused Generator import

* More fixes

* Fix remaining mypy errors

* More typing cleanups

* typing.OrderedDict isn't available until Python 3.7.2+

* Need Python 3.9 to build docs for fancy OrderedDict

* Fix Python 3.8 and earlier support

* Fix BigEarthNet tests

* Fix bug in ETCI 2021 tests

* Remove unused flake8 ignore

* More robust and well-documented trainer steps

* Many functions don't actually use batch_idx

* Store cast hparams in trainers
2022-03-14 20:35:37 +00:00
..
__init__.py functionality for learning on the prior with QR loss and ChesapeakeCVPR data (#202) 2021-12-28 14:56:14 -06:00
test_qr.py Remove type ignores for PyTorch (#460) 2022-03-14 20:35:37 +00:00