-
Notifications
You must be signed in to change notification settings - Fork 2
Togo 2020 #157
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
base: master
Are you sure you want to change the base?
Togo 2020 #157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just minor comments regarding the start and end time, and hashing method.
Performance is quite a bit worse than LP on the same labels in the Helios dataset.... |
int(dst_geometry.shp.y), | ||
) | ||
else: | ||
bounds = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it is copied from Yawen's previous code that had bug; dst_geometry.shp.x/y is the center so the window is offset, and after cropping to center 8x8 depending on the configured window size it may no longer contain the labeled point at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yawen put fixed function here that you could use:
https://github.com/allenai/rslearn_projects/blob/master/rslp/utils/windows.py
I don't think the docstring is too informative, maybe can fix it to make it clear that it is calculating bounds for a certain window size centered at the centroid of the given geometry (and then use shp.centroid.x/y instead of shp.x/y which won't work if shp is not point).
https://wandb.ai/eai-ai2/2025_06_11_helios_finetuning/runs/d40ftfir