* Removing some keys from the defaults that were removed in Lightning 1.5
* Adding RESISC45
* Experimenting with different LR decay
* Formatting
* Updating RESISC45 test data to be the same size as the original data
* RESISC45 trainer and tests
* Fix import, add deprecation
* mypy fixes
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Adding the SeCo patch datasets
* Adding tests and incorporating suggestions
* Added benchmark example code link
* Update to new way of downloading
* Formatting
* Test coverage
* Rename dataset
* Add SeCo dataset to docs
* adds split files, new classes, and refactors to speed up loading
* update bigearthnetdatamodule and tests
* update configs
* merge
* force add split files
* fix docstring
* fix docstrings x2
* fix docstrings x3
* Reduce total testing time
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* add additional bigearthnet test data for train/val/test split
* update bigearthnet dataset length test
* add MultiLabelClassificationTask
* add BigEarthNet trainer and datamodule
* add bigearthnet and multilabelclassificationtask tests
* mypy and format
* add estimated band min/max values for normalization
* softmax outputs to correctly compute metrics
* update min/max stats for 100k samples
* organize imports in torchgeo.trainers.__init__.py
* clean up fixtures in test_tasks.py
* added bigearthnet to train.py
* format
* move fixtures into class methods
* consolidate bigearthnet fixtures
* refactor tasks tests
* add scope=class
* style/mypy fixes
* mypy fixes
* Increase coverage of trainers
* Actually make the tests work
* Updated Cyclone trainer
* Style fix in cyclone tests
* Fixing landcoverai trainer
* Moving mock log to utils
* Fixing the RESISC45 trainer and related
* Skip RESISC45 trainer tests if Windows
* Removing some stupid docstrings from the RESISC45 trainer
* Adding So2Sat trainer tests
* isort
* Adding RESISC45 test data
* Use os.path.join for paths
* Remove unused import
* Add tests for ChesapeakeCVPR trainer
* mypy fixes
* Fix most Chesapeake tests
* Fixed test batching issue in the test dataset
* Get 100% coverage of Chesapeake trainer
* use a FakeTrainer instead of pl.Trainer
* Add naive BYOL trainer tests
* Style fixes
* Add 100% test coverage for BYOL trainer
* Get 100% coverage for LandCover.ai trainer
* Simplify tests
* Add tests for NAIP + Chesapeake trainer
* Fix tests
* Add tests for checkpoint loading
* Reorganize fixtures and specify scope
* Fix various test bugs
* Mypy fixes
* Reduce patch sizes
* Test fewer possible combinations of params
* Prevent warnings in tests
* Restore missing line of coverage in So2Sat trainer
* Silence resampling warning
* Ignore difference in output classes
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* add RESISC45 trainer
* update working locally
* Adding ability to choose the random split sizes via config
* If you don't have a val or test split, then return the train split so the Trainer doesn't break by default. If you actually want to train without val/test though, then you should set the appropriate Trainer args.
* RESISC experiments
* Reverting accidental changes
* mypy fix
* add dataset_split unit tests
* Document dataset_split
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* updated docs
* added VisionClassificationDataset
* refactor PatternNet and RESISC45 to inherit VisionClassificationDataset
* added unit tests and sample data
* refactor PatternNet and RESISC45 to new download/verify checks and fix code coverage
* remove override of __str__
* set default_loader as loader default
* removed loader arg from datasets
* update tests
* format
* remove duplicate code
* updated docstrings
* Added EuroSat dataset
* Cleaning up
* Removing unzipped data
* Added to docs
* EuroSat --> EuroSAT to match paper
* Changing class listing to use bullets
* Update torchgeo/datasets/eurosat.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Addressing review
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Proposal: better handling of partial timestamps
* Parse format string directly
* Add unit tests
* Windows is broken
* Windows is still broken
* Fix mypy
* Simplify logic
* Fix bug for month 12, add details to docstring
* Implemented way to test if ChesapeakeCVPR has been downloaded
* Cleaned up the way transforms are used in ChesapeakeCVPRDataModule and changed the test dataloader to use a GridGeoSampler
* Adding other transforms and cleaning up style
* Changing masks to mask throughout
* Organize the way metrics are logged
* Formatting
* Adding rasterio data loadering best practices and fixing trainer a bit
* Script for evaluating trained models over all states
* Forgot to update the MD5 after changing the dataset nodata masks
* Update test_chesapeakecvpr_models.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Changes recommended by Adam
* Idon'tsort
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Add Spacenet 1
* Add test data
* Style fixes
* Convert Spacenet1 to VisionDataset
* Add option for selecting imagery
* Consolidate spacenet
* Create single spacenet.py for all spacenet datasets
* Create single spacenet directory for all spacenet test data
* Create single test_spacenet.py for testing all spacenet datasets
* Add copyright
* Reorder Spacenet in docs
* Test both rgb & 8band
* Rename Spacenet -> SpaceNet
* add dataset to docs
* add sample test data
* add dataset unit tests
* add etci2021 dataset
* updated tests
* updated dataset to download only desired split file
* removed flood mask from file list for test set and other formatting
* Update torchgeo/datasets/etci2021.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* fixed doc formatting
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>