Skip to content
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

Add Inference Example #1991

Open
DimitrisMantas opened this issue Apr 10, 2024 · 1 comment
Open

Add Inference Example #1991

DimitrisMantas opened this issue Apr 10, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@DimitrisMantas
Copy link
Contributor

DimitrisMantas commented Apr 10, 2024

Issue

I think the documentation would greatly benefit a complete example on how to properly load a trained checkpoint, test, and finally use it for inference on a single image by splitting it into tiles.

There's already a gist on this #431, but it doesn’t really work anymore and is only relevant for GeoDatasets.

Fix

No response

Tasks

No tasks being tracked yet.
@DimitrisMantas DimitrisMantas added the documentation Improvements or additions to documentation label Apr 10, 2024
@Geethen
Copy link

Geethen commented Apr 27, 2024

This would be a great addition. the example in the gist requires the image data (used for inference) to fit into memory. rasterio allows windowed writing and accommodates larger than memory datasets. Another useful addition would be able to take care of the tiling artefacts that occur when running inference on patches. A potential post-processing fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants