Open sermomon opened 1 year ago
Added the file geoinference.py. This file is used in the same way as inference.py but allows to obtain a geo-referenced image in GeoTIFF format. This modification requires rasterio. Usage:
geoinference.py
inference.py
$ python geoinference.py --checkpoint_path checkpoints/cp.135.ckpt \ --image_path sample_data/sentinel2_example.tif --save_path water_map.tif
The geoinference.py file requires modifications to adapt it to PR #7.
Added the file
geoinference.py
. This file is used in the same way asinference.py
but allows to obtain a geo-referenced image in GeoTIFF format. This modification requires rasterio. Usage:The
geoinference.py
file requires modifications to adapt it to PR #7.