Pale-Blue-Dot-97 / Minerva

Minerva project includes the minerva package that aids in the fitting and testing of neural network models. Includes pre and post-processing of land cover data. Designed for use with torchgeo datasets.
MIT License
20 stars 1 forks source link

Most Configuration via Hydra #532

Closed Pale-Blue-Dot-97 closed 2 months ago

Pale-Blue-Dot-97 commented 2 months ago

This PR mostly moves the burden of initiating (or at least locating) user-specified objects in the config via hydra. This helps to standardise how a user specifies an experiment and its constituent parts.

Also included are various bug fixes, including finally addressing a persistent recursion error in PairedGeoDataset and PairedNonGeoDataset.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 90.98196% with 45 lines in your changes missing coverage. Please review.

Project coverage is 91.70%. Comparing base (f31982a) to head (2287698). Report is 693 commits behind head on beta.

Files with missing lines Patch % Lines
minerva/utils/utils.py 78.84% 11 Missing :warning:
minerva/modelio.py 81.48% 10 Missing :warning:
minerva/datasets/utils.py 50.00% 7 Missing :warning:
minerva/datasets/factory.py 93.50% 5 Missing :warning:
minerva/datasets/paired.py 89.58% 5 Missing :warning:
minerva/datasets/dfc.py 85.71% 3 Missing :warning:
minerva/logger/tasklog.py 96.15% 1 Missing :warning:
minerva/samplers.py 94.73% 1 Missing :warning:
minerva/trainer.py 97.50% 1 Missing :warning:
minerva/transforms.py 97.87% 1 Missing :warning:

:exclamation: There is a different number of reports uploaded between BASE (f31982a) and HEAD (2287698). Click for more details.

HEAD has 2 uploads less than BASE | Flag | BASE (f31982a) | HEAD (2287698) | |------|------|------| ||6|4|
Additional details and impacted files ```diff @@ Coverage Diff @@ ## beta #532 +/- ## ========================================== - Coverage 98.12% 91.70% -6.42% ========================================== Files 38 42 +4 Lines 3889 4992 +1103 ========================================== + Hits 3816 4578 +762 - Misses 73 414 +341 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.