-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question about Lesson 5 #1
Comments
Hi @Lecaethomas thanks for your support, looking to your code it looks good. It could be that your mask has different affine or crs with respect to your input raster, I was wondering if you can share with me the input raster as well as the predicted mask, thank you. |
Hi! No worries the 2 snippets of code you shared with me, look correct. I'll try to replicate locally. |
Thanks a lot for your help! I pushed my code here, it would be easier for you to reproduce. (be careful, I left the number of samples as if I was on kaggle) |
I'll check better during the weekend but at first sight you're copying the affine of the original naip big tile to the predicted mask. If you would like to check the model and have a well geolocated tiff file you could:
I'll try to elaborate more in the next days, thanks for your question |
Hi! Here a code you could use to do the prediction on a input .tif
Prediction:
Save cropped tif
Save cropped mask
Yo will be able to open them in QGIS for instance with the good geolocation: |
Thanks a lot to have taken the time to test it! I'll try that during the week :) |
Hi @Lecaethomas I was wondering if the issue can be closed. |
Hi,
First of all, thanks a lot for your hard work to make geospatial insights available for all, your tutorials are great.
I took the lesson 5: Semantic segmentation with geospatial data, the notebook works fine and now that I have satisfying results I'd like to export the predicted mask as a tif file. This is my code but it seems I didn't understand something as the exported .tif is never well geolocated (using your example data, the mask end up in Columbia).. Could you provide me some more light please?
By advance, thanks
Thomas
The text was updated successfully, but these errors were encountered: