geo-deep-learning icon indicating copy to clipboard operation
geo-deep-learning copied to clipboard

Inference.py: implement resampling of input raster

Open remtav opened this issue 3 years ago • 1 comments

For certain applications like building footprints, it helps to upsample an input raster to a smaller spatial resolution (ex.: 50 cm to 25 cm) in order to get a finer extraction.

This will be implemented in the coming data_to_tiles.py, but will also be needed during inference to produce similar results on new images.

remtav avatar Dec 15 '21 21:12 remtav

Seems to me the phrase "will also be needed during inference" comes up in several tickets. I think we are close to the point of viewing the inference task as more than providing a runtime for inference.py. What we really want I believe is a sound model deployment infrastructure, as per https://pytorch.org/tutorials/intermediate/flask_rest_api_tutorial.html.

ymoisan avatar Dec 17 '21 15:12 ymoisan