CosmiQ / solaris

CosmiQ Works Geospatial Machine Learning Analysis Toolkit
https://solaris.readthedocs.io
Apache License 2.0
413 stars 112 forks source link

Multiclass nets #379

Closed jshermeyer closed 4 years ago

jshermeyer commented 4 years ago

Thank you for submitting your PR. Please read the template below, fill it out as appropriate, and make additional changes to your code as needed. Please feel free to submit your PR even if it doesn't satisfy all of the requirements below - simply prepend [WIP] to the PR title until it is ready for review by a maintainer. If you need assistance or review from a maintainer, add the label Status: Help Needed or Status: Review Needed respectively. After review, a maintainer will add the label Status: Revision Needed if further work is required for the PR to be merged.

Description

Adding more models to the model zoo and the ability to create multiclass outputs.

Fixes # 45

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe tests that you added to the pytest codebase (if applicable).

Checklist:

If your PR does not fulfill all of the requirements in the checklist above, that's OK! Just prepend [WIP] to the PR title until they are all satisfied. If you need help, @-mention a maintainer and/or add the Status: Help Needed label.

codecov[bot] commented 4 years ago

Codecov Report

Merging #379 into dev will decrease coverage by 1.21%. The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #379      +/-   ##
==========================================
- Coverage   57.97%   56.75%   -1.22%     
==========================================
  Files          79       80       +1     
  Lines        6603     6806     +203     
==========================================
+ Hits         3828     3863      +35     
- Misses       2775     2943     +168     
Impacted Files Coverage Δ
solaris/nets/model_io.py 17.72% <0.00%> (-0.47%) :arrow_down:
solaris/nets/train.py 12.04% <0.00%> (-0.30%) :arrow_down:
solaris/nets/zoo/multiclass_segmentation.py 12.83% <12.83%> (ø)
solaris/nets/datagen.py 88.74% <100.00%> (+0.46%) :arrow_up:
solaris/nets/zoo/__init__.py 100.00% <100.00%> (ø)
solaris/nets/transform.py 62.90% <0.00%> (+0.80%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5dc1834...05136bf. Read the comment docs.