Closed robmarkcole closed 11 months ago
The example shows how to apply the model but the visualization step is dependent on the output modality.
However I have refactored satlas.model.evaluate.visualize_outputs
and updated the example so that it works for other output modalities like regression output.
https://github.com/allenai/satlas/blob/main/CustomInference.md#sentinel-2-inference-example
The tree cover model is the least accurate one of the four, it is okay after smoothing outputs across time but each output is susceptible to noise. We are working on improving it.
The visualization example generally uses confidence threshold of 0.5 but we use 0.8 for solar farm and 0.95 for onshore wind turbine and marine infrastructure. This can be achieved by passing evaluator_params=[0.95,0.95,0.95]
to visualize_outputs
.
Using the S2 inference example with the tree_cover model results in the error:
Since
Is not handled by segmentation_mask_to_color