Forest loss driver: new round of Peru annotation#271
Open
Conversation
yawenzzzz
approved these changes
Feb 4, 2026
Collaborator
yawenzzzz
left a comment
There was a problem hiding this comment.
LGTM! Just two minor comments.
|
|
||
| Based on predictions in Peru over five-year period: | ||
| - Select 100 for each of logging/burned/none/river/airstrip | ||
| - Select 500 where max(probs) < 0.5 |
Collaborator
There was a problem hiding this comment.
Suggestion: add "from other categories" so that it's clear that they're targeting different categories
| best_feat = candidate | ||
| best_distance = distance | ||
|
|
||
| if best_feat is None or best_distance is None or best_distance > 10: |
Collaborator
There was a problem hiding this comment.
Could this be too strict? I mean computing the distance between centroids of two geometries, is it likely that the window is within a polygon but their centroid distance is more than 10?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds code that was used to populate a new Studio project for a new round of annotation of forest loss driver examples in Peru.
rslp/forest_loss_driver/scripts/peru_20260112/README.mddocuments the steps and what the various scripts do.There is also a small fix to vessel attribute transform to work with recent rslearn API changes.