earthrise-media / plastics

Other
14 stars 7 forks source link

Run patch and pixel classifier simultaneously on Descartes #19

Closed clkruse closed 3 years ago

clkruse commented 3 years ago

Given that the majority of time spent running a model is on data extraction, it makes sense to run both the patch and pixel classifier on the same data.

This PR is not pretty from a code standpoint, but it is functional. I have mixed feelings on whether to merge in the current code state, or wait for a refactor.

Example output. ~Note, I need to look into why some regions are masked for the pixel classifier, but not for the patch classifier~ (fixed):

Screen Shot 2021-06-23 at 10 15 51 PM