geo-deep-learning
geo-deep-learning copied to clipboard
At inference time, overwrite predictions as background for NaN areas on input image
Currently, models are predicting on the input image, even in NaN areas. There should be a quick filtering of the prediction values for those areas. They should be overwritten to background values.
https://rasterio.readthedocs.io/en/latest/topics/masks.html