CosmiQ / solaris

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

Remove ML framework dependencies and refactor associated code, add gh actions, remove travis #436

Closed rbavery closed 2 years ago

rbavery commented 2 years ago

Description

This PR removes ML framework dependencies (pytorch, tensorflow) and dependencies for working with the Spacenet competition road network challenges (networkx), simplifying maintenance and installation. It also sets up github actions to test this library against various combinations of python and GDAL. These updates are meant to prepare for the .5 release of solaris which will introduce the library as a more limited set of tools for preprocessing, post-processing, and evaluation of ML experiment results. See the ROADMAP.md for details.

Type of change

How Has This Been Tested?

I removed tests that were no longer relevant that tested the nets module and other functionality that has been removed. I fixed some tests that were broken as well. All tests can now be run across environments managed by tox using act https://github.com/nektos/act

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.