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

Now writing GeoTiff and having two bands: binary mask and probabilities #65

Merged
merged 4 commits into from
Jun 20, 2024

Conversation

GriffinBabe
Copy link
Contributor

@GriffinBabe GriffinBabe commented Jun 19, 2024

Resolves #61 and #62

Output GeoTiff example for parameters 664000 5611120 665000 5612120 2020-11-01 2021-10-31 --epsg 32631 can be found in my Public drive:
/data/users/Public/couchard/gfmap_cropland_inference_probabilities.tif

Output GeoTiff has two bands, the first one is the binary cropland mask and the second is the associated probabilities

@GriffinBabe GriffinBabe requested a review from kvantricht June 19, 2024 10:56
@GriffinBabe GriffinBabe linked an issue Jun 19, 2024 that may be closed by this pull request
Copy link
Contributor

@kvantricht kvantricht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we scale probabilities by a factor 100 to be able to save the result as integer instead of float? Need to see what kind of integer given that the label for now is binary but in croptype can become quite large.

@GriffinBabe
Copy link
Contributor Author

@kvantricht I updated this to have uint8 values with 0-1 for crop/no-crop first layer and 0-100 for the probability layer.

@GriffinBabe GriffinBabe merged commit 77d14af into main Jun 20, 2024
1 check passed
@GriffinBabe GriffinBabe deleted the 61-probabilities-inference branch June 20, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return probabilities from inference job
2 participants