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

1987 Коммитов

Автор SHA1 Сообщение Дата
Yi-Chia Chang 8af188c72e
Add AgriFieldNet India Challenge dataset (#1459)
* add agrifieldnet dataset

* modified len check

* improve _download

* remove augmentation and wrong datamodule names

* update data.py and dataset

* update splits

* remove patch_size change

* fix style issues

* add yaml and modify/test for training

* fix data path and add trainer

* export prediction

* fix integrity check and len

* extract predction

* adding create submission file function

* adding create submission file function

* hyperparam tuning exp

* backup experiments

* remove redundant files

* reverse segmentation.py

* resolve minor issues

* modify yaml and add exp files

* update data.py

* remove outdated train.py

* update dataset, test, and new data

* fix style

* fix doc api

* remove datamodule

* fix geo_datasets.csv

* fix codecov

* fix read tif issue

* Update torchgeo/datasets/agrifieldnet.py

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

* fix init

* add ordinal_cmap to pred and remove comments

* remove suffix

* remove download entirely

* style

* Update agrifieldnet.py

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

* Update agrifieldnet.py

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

* remove url and if statement

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-02-12 12:41:51 -06:00
dependabot[bot] ff9555a37a
Bump ipywidgets from 8.1.1 to 8.1.2 in /requirements (#1871) 2024-02-09 00:56:13 +01:00
dependabot[bot] 684c780d91
Bump lightning[pytorch-extra] from 2.1.4 to 2.2.0 in /requirements (#1872) 2024-02-09 00:55:47 +01:00
Adam J. Stewart fa35b10e82
Debug coverage (#1867)
* Debug coverage

* Don't use artifacts
2024-02-08 07:43:12 -06:00
Adam J. Stewart 67ef19e12b
Debug coverage (#1866)
* Debug coverage

* Restore to MetRonnie's solution
2024-02-08 04:59:15 -06:00
Adam J. Stewart ef31e932f1
Debug coverage (#1865)
* Debug coverage

* Unzip files first
2024-02-07 13:25:35 -06:00
Adam J. Stewart cf6a459cce
Debug coverage (#1864)
* Debug coverage

* Extract all artifacts
2024-02-07 12:56:20 -06:00
Adam J. Stewart 78c97f97ad
Debug coverage (#1863)
* Debug coverage

* Manually store PR information

* Remove empty line
2024-02-07 11:50:59 -06:00
Adam J. Stewart 216773a72c
Debug coverage (#1862)
* Debug coverage

* Checkout PR commit
2024-02-07 07:58:33 -06:00
Adam J. Stewart b6cbb17f0d
Debug coverage (#1858)
* Debug coverage

* Add necessary info
2024-02-07 03:50:35 -06:00
dependabot[bot] f0885eeb08
Bump pyvista from 0.43.2 to 0.43.3 in /requirements (#1860)
Bumps [pyvista](https://github.com/pyvista/pyvista) from 0.43.2 to 0.43.3.
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](https://github.com/pyvista/pyvista/compare/v0.43.2...v0.43.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 03:39:02 -06:00
dependabot[bot] 9515d87f6c
Bump numpy from 1.26.3 to 1.26.4 in /requirements (#1859)
Bumps [numpy](https://github.com/numpy/numpy) from 1.26.3 to 1.26.4.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.26.3...v1.26.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 03:38:49 -06:00
Adam J. Stewart 1cf8601071
Debug coverage (#1857) 2024-02-06 10:34:34 -06:00
Adam J. Stewart 82e2559a1f
Test Python 3.12 (#1837)
* Test Python 3.12

* Flake8 fix

* Caching bug
2024-02-06 09:04:40 -06:00
Adam J. Stewart 78d1854b73
Revert mypy changes (#1836)
* Revert mypy changes

* Remove unused import
2024-02-06 09:04:22 -06:00
Jingtong f5624ac2cc
Adding South America Soybean Dataset (#1668)
* Created file for South America Soybean dataset and added it to __init__.py

* Updated south_america_soybean.py

* Added tests

* Updated data.py

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update torchgeo/datasets/south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Update tests/datasets/test_south_america_soybean.py

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Updated tests

* fixed an error in init

* fixed some path inconsistencies

* fixed all errors

* Fix comments

* added dataset to datasets.rst

* edit datasets.rst

* pushed again

* Delete tests/data/south_america_soybean/.DS_Store

* Update docs/api/datasets.rst

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>

* Edited datasets.rst

* Edited datasets.rst

* Fixed styling

* Fix docstring formatting

* Fix whitespace

* Add blank line

* Fixed download urls

* Update geo_datasets.csv

* Update torchgeo/datasets/south_america_soybean.py

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

* Update torchgeo/datasets/south_america_soybean.py

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

* Update torchgeo/datasets/south_america_soybean.py

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

* Updated geo_datasets.csv and added years parameter to class

* Delete tests/data/.DS_Store

* Delete tests/.DS_Store

* Update south_america_soybean.py

* Fix docstring formatting

---------

Co-authored-by: Yi-Chia Chang <61452667+yichiac@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-02-06 06:11:17 -06:00
Konstantin Klemmer 55b3c50891
load_state_dict does not return the model (#1503)
* Update pretrained_weights.ipynb

Fixed an error in the state dict loading of the turorial and added a comment on the num_classes parameter when creating timm models.

* Update docs/tutorials/pretrained_weights.ipynb

* Update utils.py

* Import Tuple from typing
* Change return of `load_state_dict` from `model` to `Tuple[List[str], List[str]]`, matching the return of the standard PyTorch builtin function.

* Update pretrained_weights.ipynb

Remove example of loading pretrained model without prediction head (`num_classes=0`).

* Update README.md

Adapt new `load_state_dict` function.

* Mimic return type of builtin load_state_dict

* Modern type hints

* Blacken

* Try being explicit

---------

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-02-06 03:55:15 -06:00
Adam J. Stewart 91b5e01ef8
CI: stable notebook dependency versions (#1838) 2024-02-06 03:54:23 -06:00
Adam J. Stewart a52f88f614
Debug coverage (#1853) 2024-02-05 07:44:13 -06:00
Adam J. Stewart d4e68d5710
Debug coverage (#1852) 2024-02-05 06:41:07 -06:00
Adam J. Stewart ef10eb14b6
Debug coverage (#1851) 2024-02-05 05:05:17 -06:00
Adam J. Stewart 9efd519ee4
Debug coverage (#1850) 2024-02-05 04:46:26 -06:00
Adam J. Stewart 7dd0d65dfd
Debug coverage (#1849)
* Debug coverage

* Specify workflow to download artifacts from
2024-02-05 04:07:30 -06:00
Adam J. Stewart ab7aef1901
Debug coverage (#1848)
* Debug coverage

* Still dependent on non-existing job
2024-02-04 15:36:40 -06:00
Adam J. Stewart d9895688cf
Debug coverage (#1847)
* Debug coverage

* Minimum is not a workflow name
2024-02-04 11:56:27 -06:00
Adam J. Stewart 8d60e857d2
Solution for codecov rate limits (#1846)
* Solution for codecov rate limits

* Add upload workflow
2024-02-04 10:48:51 -06:00
Yi-Chia Chang e119b37949
add 2023 md5 (#1844) 2024-02-04 05:13:36 -06:00
dependabot[bot] 80f27bd024
Bump lightning[pytorch-extra] from 2.1.3 to 2.1.4 in /requirements (#1843) 2024-02-02 21:40:44 +01:00
Adam J. Stewart 4a85c85246
lightly v1.4.26 is incompatible with smp (#1825) 2024-02-01 08:57:50 -06:00
dependabot[bot] f12f6255ed
Bump torchvision from 0.16.2 to 0.17.0 in /requirements (#1835)
* Bump torchvision from 0.16.2 to 0.17.0 in /requirements

Bumps [torchvision](https://github.com/pytorch/vision) from 0.16.2 to 0.17.0.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](https://github.com/pytorch/vision/compare/v0.16.2...v0.17.0)

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

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

* Bump torch too

* Remove unneeded type ignores

---------

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>
2024-01-30 21:07:36 +00:00
dependabot[bot] 542f2c794f
Bump pytest from 7.4.4 to 8.0.0 in /requirements (#1833) 2024-01-30 14:18:28 -06:00
dependabot[bot] 2571e13552
Bump nbmake from 1.4.6 to 1.5.0 in /requirements (#1832) 2024-01-29 23:38:46 +00:00
dependabot[bot] 96f1be6a74
Bump black[jupyter] from 24.1.0 to 24.1.1 in /requirements (#1834) 2024-01-29 23:36:54 +00:00
dependabot[bot] d3276473e3
Bump codecov/codecov-action from 3.1.4 to 3.1.5 (#1831) 2024-01-30 00:32:28 +01:00
Adam J. Stewart 643bc7a457
README: add color lexing to bibtex (#1820)
* README: add color lexing to bibtex

* Try again

* Try bibtex
2024-01-29 13:29:20 +00:00
dependabot[bot] 7b8692b3f4
Bump black[jupyter] from 23.12.1 to 24.1.0 in /requirements (#1829)
* Bump black[jupyter] from 23.12.1 to 24.1.0 in /requirements

Bumps [black[jupyter]](https://github.com/psf/black) from 23.12.1 to 24.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.12.1...24.1.0)

---
updated-dependencies:
- dependency-name: black[jupyter]
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Update TorchGeo

---------

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>
2024-01-27 11:12:00 +00:00
Favyen Bastani a3f3e40541
Add EuroCrops dataset (#1813)
* Add EuroCrops vector dataset.

* Fix flake8 errors.

* apply black check reformatting

* flake8/black checks

* more test fixes

* more test fixes

* remove itertools product import

* isort test

* Cast integer indexes to long to work with old pytorch version.

* Add EuroCrops to files in docs/api/

* Update resolution to correspond to 10 m/pixel in WGS-84.

But EuroCrops shapefiles are in many different CRS depending on the country,
some WGS-84 others EPSG:31287, EPSG:5514, etc.

* Add int_array_to_tensor function to convert numpy uint16/32 arrays to
pytorch int32/64 tensors.

* add number of polygons to eurocrops dataset description

* Updates per PR discussion

* Add filename_glob and implement filename_regex to work with automatic date extraction.

* Update torchgeo/datasets/eurocrops.py

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

* Fix int_array_to_tensor for non-int inputs.

* type annotation fix

* type annotation fix x2

* Add additional classes parameters to test to improve coverage of eurocrops dataset

* Update label_fn change to overloadable VectorDataset._get_label function.

* Use color gradient for visualizing EuroCrops masks

* Fix apply_cmap bugs.

* Fix get_cmap call for old matplotlib version

* public get_label and eurocrops regex update

* Match two-letter country code only

* versionadded notes and fiona.Feature type/doc fix

* test dataset integrity failure

* Use fiona.model.Feature consistently.

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-01-26 11:04:22 -06:00
Adam J. Stewart d998cb7459
Airphen: add new dataset (#1803)
* Airphen: add new dataset

* Add paper to cite

* Make it sound less like marketing material
2024-01-26 09:32:08 -06:00
Ashwin Nair 0f8b0ac3ea
Add VHR10 datamodule (#1082)
* Add VHR10 datamodule

* Add newline

* patch_size accepts int and tuple of ints

* Update conf

* VHR10 Datamodule v2

* Remove auto_lr_find

* Remove preprocess

* Update config

* Remove setting of matplotlib backend

* Remove import

* Typing update

* Key fix

* Coverage fix

* Update conf

* Update conf

* Dowload=True

* Use weights

* Empty commit

* Switch to ndim

* Remove conf, tight_layout and spacing

* Set constrained layout via rcParams

* Revert and bump min matplotlib version

* Switch back to dataset_split

* Separate out AugPipe

* Increase figsize & revert matplotlib

* Common collate_fn

* Class var std

* Undo std change in BaseDataModule

* Undo req changes

* Remove unused line

* Add version strings

* mypy fix

---------

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-01-25 18:06:11 +00:00
Adam J. Stewart b0f5184bf5
RtD: use stable dependency versions (#1827) 2024-01-25 21:38:38 +04:00
dependabot[bot] 544590e724
Bump actions/cache from 3.3.3 to 4.0.0 (#1819)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.3...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 10:43:47 +00:00
dependabot[bot] 77e7e7f42a
Bump pandas from 2.1.4 to 2.2.0 in /requirements (#1817)
Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](https://github.com/pandas-dev/pandas/compare/v2.1.4...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 04:25:26 -06:00
dependabot[bot] f678f49688
Bump scipy from 1.11.4 to 1.12.0 in /requirements (#1818) 2024-01-22 22:17:29 +01:00
Adam J. Stewart 0643b7de0d
Labeler: additional doc locations (#1807) 2024-01-21 11:22:16 -06:00
Al-Ekram Elahee Hridoy b20ee4f269
Updated ChesapeakeCVPR to use NLCD colormap (#1690)
* Updated ChesapeakeCVPR to use NLCD colormap

* Reused NLCD colormap in ChesapeakeCVPR dataset

* Updated ChesapeakeCVPR to use NLCD colormap

* Update chesapeake.py

* updated as suggested

* Fixed NLCD colors

* Updated as suggested

* removed nlcd_cmap attribute from ChesapeakeCVPR class
2024-01-20 05:53:33 -06:00
dependabot[bot] fb990ecb00
Bump rtree from 1.1.0 to 1.2.0 in /requirements (#1815) 2024-01-19 23:16:56 +01:00
Odd Eirik Igland 79cba043da
VectorDataset: extract mint/maxt from filename (#1814)
* filter by date

* added date format docstring

* added test

* moving match

* simpler date

* changed the name in data

* mypy
2024-01-19 13:21:46 -06:00
George Huber 43d7133614
Add CropHarvest Dataset (#1677)
* initial commit

* Added functionality to cropharvest dataset

* Added test coverage

* test fixes

* mdpy typing

* flake8 revision

* added docs

* fixed h5py import

* fix .rst underline

* updated tests to mock h5py module

* fixed documentation

* fixed black formating

* turn labels to tensors

* fix data generationa and mdpy for tensor encoding

* update verify model

* doc style

* test coverage

* fix test coverage leaks

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* update test data path and monkeypatch

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* remove hard coded classes

* fixed plot and label one hot encoding

* refactor datasetnotfounderror

* resolve conflict with main

* refactored importerror

* mdpy

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Update torchgeo/datasets/cropharvest.py

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

* Remove empty class and correct csv

* Update cropharvest.py

* formatting changes

---------

Co-authored-by: georgehuber <“georgehuber8@gmail.com”>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2024-01-19 06:39:24 -06:00
dependabot[bot] 1c20678a10
Bump torchmetrics from 1.3.0 to 1.3.0.post0 in /requirements (#1812) 2024-01-17 20:50:16 +00:00
Caleb Robinson 436baa9773
Fix the default folds and assertion for checking valid folds in PASTIS (#1810)
* Fix the default folds and assertion for checking valid folds in PASTIS

* Maybe fix PASTIS tests

* Update data
2024-01-16 06:26:12 -06:00