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

Message model#prediction doesn't include prediction image #67

Open
vgeorge opened this issue May 26, 2023 · 2 comments
Open

Message model#prediction doesn't include prediction image #67

vgeorge opened this issue May 26, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vgeorge
Copy link
Member

vgeorge commented May 26, 2023

On retrain, if the AOI is larger than a certain threshold, model#prediction won't include image parameter, which includes the prediction tile. This blocks displaying live predictions. AOIs under 30 km2 seems to be working fine.

cc @ingalls @geohacker @srmsoumya

@geohacker
Copy link
Member

@vgeorge I'm able to see this on even on regular inference. Steps to reproduce:

  1. Draw an AOI of size ~10km2, see image tiles from the API
  2. Draw an AOI for size >30km2, no image tiles from the API

When I inspect the WS message, I see that the API thinks this AOI is not a live inference:

image

I suspect something is off in this line https://github.com/developmentseed/pearl-backend/blob/project-ts/services/gpu/lib/TimeFrame.py#LL50C26-L50C26

@geohacker geohacker added the bug Something isn't working label May 26, 2023
@LanesGood
Copy link
Member

Is this still an active bug @geohacker @vgeorge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants