* 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>
* Add Sentinel-1 dataset
* SLC -> GRD
* Color scaling
* Improve image title
* Newline before lists
* New in version 0.4
* Divide before scaling
* Documentation clarifications
* Relax constraints on bands
* One more combo
* Fix syntax
* Fix syntax
* Fix flip
* Fix test name
* pyupgrade
* Clarify co/cross-pol, backscatter coeff, and scale
* load pretrained weights
* change name millionaid
* restructure and additional weights
* rename sentinel1 weights
* add vit small weights
* forgot to add vit.py
* struggling with test
* wrong name failing test
* feedback on tests
* increase test coverage
* fix failing test
* fix failing test
* fix failing test and add vit tests
* fix failing vit test
* torchgeo.models.utils
* forgot utils file
* typo num channels
* nitpick docs, version torchvision
* another try min dependencies
* add documentation table
* expand pytests to test pretrained weights on tasks
* reverse changes to byol task
* add tests to init pretrained weights from config
* forgot to add the conf files
* change path
* increase test coverage
* vit tests all pass locally including slow
* now remote
* fix tests another one
* add a draft tutorial
* run black on tutorial notebook
* Tutorial typo fixes
* Lower min torch/vision versions
* Fix bad rebase
* Remove dead code
* Flake8 fixes
* Consistent in_chans
* Black fixes
* bison > yacs
* Remove one more reference
* Download modified weights from hugging face
* Add entrypoints
* Add torch.hub support
* progress arg is required
* Fix model loading for resnet18
* Add transforms, update tests
* VIT -> ViT
* add seco weights
* Fix type hints
* Link to timm docs
* Fix pydocstyle
* Try to fix timm docs link
* Fix tests
* Nuke ignores
* Ignore timm links
* Add model API methods
* Add to __init__ and document
* Test model API functions
* fix tests
* Use correct documentation link for intersphinx
* Typos
* Fix Windows tests
* meth -> func
* Explicit function scope
* weight-specific filename
* Support enums in classification trainer
* Update other trainers too
* Fix regression tests
* Fix classification tests
* Fix byol tests
* Fix types
* progress_bar is required arg
* Test weight enums
* Fix pickling
* Fix regression tests
* Improve coverage of classification tests
* Improve coverage of BYOL tests
* Update resnet table
* Update ViT table
* Update get_state_dict usage
* Remove unused YAML files
* Update table widths
* Documentation improvements
* Tweak tables
* Try to fix Windows tests
* Revert "Try to fix Windows tests"
This reverts commit 1325b13ff7.
* Monkeypatch everything
* Revert "Monkeypatch everything"
This reverts commit e3e8d7d042.
* Revert "Revert "Monkeypatch everything""
This reverts commit 9b27bd705b.
* Patch things not at the source
* Fix missing import
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* add datamodule with crop logic
* remove print and fix batch_size
* typo
* Use Kornia augmentations
* Style
* Ignore warning
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* fix datamodule
* requested changes to vaihingen
* data loader
* fix error an clarity
* fix failing test
* fix failing test crop augmentation
* found a bug
* remove same_batch param
* Trying to get minimum tests to pass
* Formatting
* Formatting again
* Update torchgeo/datamodules/vaihingen.py
* Sort imports
* Isort, yousort, we all sort
* Same logic as deepglobe
* More-specific types
* Missing import
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Add loveda to trainer tests
* Delete direct loveda datamodule test
* Ignoring deprecation warning for lightning
* Remove ignore
* test -> predict
* Fix typo
* Add comment explaining mismatch
* More coverage
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* crop logic
* typo
* change train_batch_size logic
* fix failing test
* typos and naming
* return argument train dataloader
* typo
* fix failing test
* suggestions except about test file
* remove test_deepglobe and add test to trainer
* forgot new conf file
* reanme collate function
* move cropping logic to transform and utils
* remove comment
* simplify
* move pad_segmentation to transforms
* another one
* naming and versionadded
* another transforms approach
* typo
* fix read the docs
* some checks for Ncrop
* add unit tests new transforms
* Remove cruft
* More simplification
* Add config file
* Implemented ExtractTensorPatches
* Remove tests
* Remove unnecessary attrs
* Apply to both input and mask
* Implement RandomNCrop
* Fix dimensions
* mypy fixes
* Fix docs
* Ensure that image and mask get the same transformation
* Bump min kornia version
* ignore still needed?
* Remove unneeded hacks
* Fix pydocstyle
* Fix dimensions
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Add SpaceNet1 datamodule
* Running black and isort
* version added
* Fix docs
* SpaceNet1 tests
* Testing spacenet datamodule with trainers
* no loveda
* black
* doc fix
* Removing direct datamodule test
* Make sure percent normalization doesn't divide by zero
* Speed up preprocessing
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* remove open3d add pyvista
* refactor plotting pcl with pyvista
* refactor tests with pyvista
* remove open3d
* remove skipping pcl plot test on mac
* fix
* remove unused import
* add pyvista docs
* use xvfb for pyvista tests
* changes per suggestions
* changes per suggestions x2
* remove bugged test
* Test minimum pyvista version
* mypy fix
* More dep file updates
* Document change
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* name change semgmentation model
* chmod evaluate.py
* fix variable name evaluate
* encoder -> backbone
* remove backbone_output_stride from confs
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* change regression task to timm support
* add docstring about available models
* typo again
* failing test
* change name
* change name
* expose all available models
* docstring list_models
* Update torchgeo/trainers/regression.py
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Bump torch from 1.12.1 to 1.13.0 in /requirements
Bumps [torch](https://github.com/pytorch/pytorch) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/master/RELEASE.md)
- [Commits](https://github.com/pytorch/pytorch/compare/v1.12.1...v1.13.0)
---
updated-dependencies:
- dependency-name: torch
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump torchvision from 1.13.1 to 1.14.0 in /requirements
* torch.load now has type hints
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>
* Prepare NasaMarineDebris dataset & datamodule
* Filter out invalid boxes
* Add label key to batch
* Add plot function
* Add detection task
* Add tests
* Fix conf arg
* Add test for non pretrained backbones
* Coverage for when datamodule has no plot fn
* Separate out tests
* self.forward(x) -> self(x)
* Add predict_step
* list -> List
* 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
* 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>
* Test rarfile on Windows
* Remove unused import
* Add pacman to PATH
* Add flags
* Change shell
* Quotes
* Set PATH for test time too
* Prepend
* Ask Python where to find pytest
* Prepend
* Experiment
* Undo experiment
* No PATH
* Undo more changes
* Revert "Undo more changes"
This reverts commit 42b490041a8b8e1fa2c1cc9c4c731a5cd9ea2072.
* Revert "No PATH"
This reverts commit 2767f07942d81ce9a82ff5de10394c1c882e4f46.
* adding cloud cover dataset class
* Adding Cloud Cover Detection Challenge dataset class and tests
* fixed linter issues and passing pre-commit tests
* resolving linter errors
* addressing failed isort test
* replacing deprecated VisionDataset with NonGeoDataset reference
* removed NDArray import for quoted np.typing.NDArray
* addressing mypy errors
* updated docstring for plot method
* Update docs/api/non_geo_datasets.csv
adding commas to train/test split sizes
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update docs/api/non_geo_datasets.csv
Including total dataset size in api CSV, removing train/test split
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* updated Cloud Cover Dataset name in dataset.rst
* Update docs/api/datasets.rst
Accepting carrots under text in datasets.rst, sorry forgot to add these in!
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/datasets/cloud_cover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/datasets/cloud_cover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/datasets/cloud_cover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* flakefreaking8
* Fix duplicate rst link
* adding cloud cover dataset class
* Adding Cloud Cover Detection Challenge dataset class and tests
* fixed linter issues and passing pre-commit tests
* resolving linter errors
* addressing failed isort test
* replacing deprecated VisionDataset with NonGeoDataset reference
* removed NDArray import for quoted np.typing.NDArray
* addressing mypy errors
* updated docstring for plot method
* Update docs/api/non_geo_datasets.csv
adding commas to train/test split sizes
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update docs/api/non_geo_datasets.csv
Including total dataset size in api CSV, removing train/test split
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* updated Cloud Cover Dataset name in dataset.rst
* Update docs/api/datasets.rst
Accepting carrots under text in datasets.rst, sorry forgot to add these in!
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/datasets/cloud_cover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/datasets/cloud_cover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/datasets/cloud_cover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* flakefreaking8
* Fix duplicate rst link
* added normalization to plot method for better visual
* CloudCoverDetection is a non-geo dataset
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* 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
* 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>
* Cleaning up preprocessing methods across DataModules
* Decoupled deleting the bbox with the other transforms in the GeoDataset DataModules
* Cleaning up how channel standardization is done
* Changing default conf for ETCI2021 and fixing So2Sat
* Forgot to update the indices.
* Change to use Normalize
* Remove default augs
* add class for Deep Globe Land Cover dataset
* add Lightning data module implementation for deepglobe land cover
* fix formatting errors
* fix urls, formats and add link for paper
* add tests for deepglobe dataset and datamodule
* fix a test case and a few more formatting error
* add data.py and modify error match for data download
* modify draw_semantic_segmentation_masks for cases when mask is a subset of all class labels
* fix mypy error
* add to docs for documentation
* add deepglobe to the dataset lists csv
* fix error in building docs
* Update datamodules.rst
* Update datasets.rst
* Update data.py
* Update utils.py
* change file permissions of non_geo_datasets.csv
* Add versionadded
* Update torchgeo/datasets/deepglobelandcover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Change end of line sequence
* Update tests/data/deepglobelandcover/data.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* exist_ok
* Update tests/datasets/test_deepglobelandcover.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Remove datamodule tests
* Remove split monkeypatch
* Running black
* Add val percent to test conf
* Sort filelist so indices are the same across platforms
* Simplified the file and mask fns
* Re-adding datamodule tests for coverage
* Add sub-configs to test val_split_pct in the datamodule
* Lets try it
* Update tests/conf/deepglobelandcover_0.yaml
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* nulllllllll
* ingore_zeros -> ignore_index
Co-authored-by: saumyasinha <t-sasinha@microsoft.com>
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Clarify the ignore_zeros parameter to the segmentationi trainer
* Black
* Add test
* Added warnings
* Renaming ignore_zeros to ignore_index
* Fixed rest of config and tests
* Update conf/chesapeake_cvpr.yaml
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/trainers/segmentation.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update torchgeo/trainers/segmentation.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Changed warning match
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* add plot method and data.py
* add version
* file typo
* forgot data.py
* add version change and larger image size
* requested changes
* test with print
* test geo
* change data to match chesapeake
* fix crs test
* add own plot method and data.py
* clean up data.py
* version changed instead of added
* Update cbf.py
* Any instead of Tensor
* Fix VectorDataset tests
* Plot method in base class no longer needed/tested
* Removing unused imports
* Remove type ignore from openbuildings
* Fix tests
* Black formatting
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* 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
* populate index attempt
* added tests
* correct plot method
* fix test
* fix documentation
* fix docs
* name changes
* lazy import pandas and Any instead of Tensor
* requested changes
* mypy fixes
* Close plot filehandles
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Add AGB live woody density dataset
* add credit
* Update docs/api/datasets.rst
* Update torchgeo/datasets/agb_live_woody_density.py
* Update torchgeo/datasets/agb_live_woody_density.py
* Update docs/api/datasets.rst
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* regex
* Update torchgeo/datasets/agb_live_woody_density.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Remove unused import
* Adding indents to regex
* move extract
* Close plot filehandles
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Adding dataset from MOSAIKS paper
* Name change
* implementing NAIPTileIndex in USAVars
* lookup_point works
* usavars: adding extract + verify
* USAVars: add md5
* initial _load_files function
* adding plotting
* formatting
* add description
* black fix
* flake8 fix
* pydocstyle fix
* mypy fix
* add DS to docs
* black fix
* fake dataset
* add transforms arg
* initial tests
* fix black flake8 isort
* fix black flake8
* fix black
* fix mypy
* test fixes
* testing something
* it finds zip but not csv
* fake csv files didn't get added
* pandas docs fix
* forgot to take out here
* need to add in functions
* round plot labels
* Small edits
* remove Unnamed column
* zipfile change
* i think this solves codecov?
* there needs to be a test
* codecov
* bring back UAR!
* remove intermediate directory
* fix flake8
* No more iteration in load_files
* dont' use Any
* check if all csv files exist
* Add docstring to init
* use index col = ID
* labels in as list
* adjust to only 3 labels + adjust tests
* citation
* remove testing file
* no need to rename zipfile
* adding data.py to test data + adjusting tests
* formatting fixes
* style fix
* docstring
* Docstring
* Fixing docstring
* docstring for labels
* Adding all csv files to data + checking for all 7 labels instead of just 3
* docstrings
* docstring
* ensure labels are valid
* pydocstyle fix
* cast to list
* remove typos
* Requested changes
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* add plot method and data.py
* typo missed period
* forgot data.py
* Remove abc, add versionchanged
* Update esri2020.py
* fixed test and requested changes
* Add uncompressed data file
* add test coverage
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* dataset file no test
* add test and data.py
* Update eudem.py
* requested changes
* Update torchgeo/datasets/eudem.py
* Apply suggestions from code review
* rST fix
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* added triband normalized difference index to support indices e.g. Green-Blue NDVI
added triband normalized difference index base class to support indices e.g. Green-Blue NDVI
* Formatted
* formatted the comments
* formatted
* Update indices.py
* Update indices.py
* formatted
* formatted
* formatted
* formatted
* formatted
* frmtted
* formatted the init
* added test cases
* removed probelematic code
* formatted
* formatted
* formatted
* plot method to base chesapeake
* fix typo
* Add plotting to Chesapeake datasets
* isort, yousort, weallsort
* putting back the globs
* putting back the geo.py change
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* fix forced int32 type conversion
* add fix for numpy dtypes which are not supported by tensors
* delete whitespace
* Adding custom data to test the dtype transform
* Fixed formatting
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* remove FCEF model, refactor FCSiamConc and FCSiamDiff to inherit from smp.Unet
* style fixes update tests
* mypy and docstring fixes
* more mypy fixes and add tests
* remove test args
* fix tests
* add smp to intersphinx mapping
* update model DOI
* add the right docs this time
* Removing type ignores
* Testing sphinx fix
* Added parts of SMP to nitpicky ignore
* Fixing docs
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* Fix regex to work with Sentinel-2 Band8A
Regex was only finding numerical bands (e.g. Band 01, 02, ..., 10, 12), but not Band 8A.
* Update test_sentinel to include Band 8A
* Simplify regex
Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Adding Esri 2020 dataset
* long url string
* requested changes
* Add period at end of sentence
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update indices.py
Added MNDWI to support modification of normalised difference water index (NDWI) to enhance open water features in remotely sensed imagery.
* Update indices.py
* Update indices.py
* Update indices.py
Added a new Index Soil Water Index
* Update indices.py
Style error fixed
* Update indices.py
* SWI addition
* Update indices.py
* Update indices.py
* Update indices.py
* Update indices.py
Changed the comment to fit in the code accordingly
* Update indices.py
modified
* Update indices.py
corrected the citation
* Update indices.py
* Ubuntu CUDA 11.3 docker for torchgeo
* Update Dockerfile_ubuntu_1804_cuda_11_3_cudnn_8_torchgeo
* Delete Dockerfile_ubuntu_1804_cuda_11_3_cudnn_8_torchgeo
* Added Dockerfile
Added Dockerfile
* deleted docker due to wrong issue number
* Added GNDVI Index
Added GNDVI Index
* corrected docstring
* updated refernce index to doi
* Added Triband Normalized Indexes
* Update indices.py
Saved
* Updated GNDVI
* Delete transforms.ipynb
deleting
* Added the notebook changes
* Delete transforms.ipynb
* Added the notebook changes
* Added the spaces
* Update indices.py
* formatting corrected
* Running black
* Reset transforms
* Clean up docstrings
* Adding tests and adding to list of transforms exported by the module
* Consistency
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* 0.2.0 release
* Fix notebooks
* Fix minimal dependency tests
* Fix integration tests
* Fix integration tests
* Try to avoid running GitHub Actions twice on release PRs
* Revert "Try to avoid running GitHub Actions twice on release PRs"
This reverts commit a1ac7ab4cf.
* GeoDatasets use intersection, not addition
* Adding stack_samples to benchmarks
* Fix zero division error in SEN12MS tests
* Replaces test models with dummy models (#344)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* lc values must be < num_classes
* updated indices tutorial with latest indices
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: isaaccorley <22203655+isaaccorley@users.noreply.github.com>
* Remove dataset-specific trainers
* Collation functions will be new in 0.2.0
* Clarify arg docstring
* Style fixes
* Remove files forgotten in rebase
* Fix bug in unbind_samples, add tests
* Fix bugs in datamodule augmentations
* Increase coverage for datamodules
* Fix bugs in logger plotting, properly test
* Fix tests
* Increase coverage of trainers
* Use datamodule plot instead of dataset plot
* Skip datamodules without tests
* Plot predictions
* Fix ClassificationTask tests
* Fix SemanticSegmentationTask tests
* EAFP -> LBYL
* Ensure that tensors are on the CPU before plotting
* Add compute index helper function + refactor
* Generalize all indices to one function
* Refactor indices to one module
* Fix init imports
* Add docstrings
* Fix transform test
* update to inherit from parent index class
* add nbr index
* forgot self in method
* mypy and dim fixes
* update expected tensor in test
* Update indices.py
* Black
* Update indices.py
* Black again
Co-authored-by: isaaccorley <22203655+isaaccorley@users.noreply.github.com>
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* updated zuericrop test data and adds data.py script
* updates per suggestions
* Guard file removal with file existence check
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Add type hints for numpy
* np.int -> int
* Fix np.int_ usage
* int -> np.int_
* Sequence[int]
* Add link to numpy docs
* Fix type hint in rgb_to_mask
* Update potsdam and vaihingen masks to uint8
* Fixing draw_semantic_segmentation_masks
* Fixing draw_semantic_segmentation_masks
* Unrelated doc spacing fix
* Formatting
* Revert update to kenya crop type dataset
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* Add plotting method for CV4A Kenya Crop Type Dataset
* remove print statements, still fix test_plot
* fix rgb plot test
* fix rgb plot test
* requested changes
* Adding plot to ADVANCE dataset
* Adding plot to BeninSmallHolderCashews
* Adding plot to BigEarthNet
* Doctstring adjustment for BigEarthNet plot
* Cleaning up ugly test
* Cleaning up bigearthnet classes
* Added time step plot to benin_cashews
* Formatting
* Update benin cashew tests
* Add S1 plotting and type to np.ndarray
* Trying numpy with quotes
* adding QR loss functions for learning on the prior
* chesapake learn on prior trainer with self-contained code for visualization
* adding prior dataset to the chesapeake datasets; doesn't handle downloading or anything like that yet
* updating init files to include chesapeake CVPR prior
* adding FCNModified for learning on the prior
* changing input to samplers to pass dataset instead of dataset.index
* fixing style issues
* Removing FCN_modified
* Fixing super call and mypy in FCN model
* Added learning on the prior extension
* Update tests
* Formatting
* Adding QR loss
* Added losses to docs
* Removing trainer, moving datamodule
* Combining chesapeake and chesapeake prior datamodules
* Formatting
* Test coverage
* Formatting
* Adding losses
* Re-moving the datamodules around
* Make loss function a torch Module
* Version added
* Fixed some stuff that got messed up in the rebase
* Formatting
* How'd this get there?
* Change qr losses to expect probabilities instead of log-probabilities
* Clean up test
* Rename qr loss file
* Renamed test file
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* plotting method cowc dataset
* boolean label for detection
* restructure plotting method
* typo
* label title not as variable
* single plot method in super class
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
* Add custom RasterDataset notebook
* Update docs index.rst
* Update copyright, fix URL typo, and add verbose description
* Add xview3 sample data
* Update notebook
* Show simple example first, complicated example second
* Remove the second half of the notebook, can expand later