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

Fine-tune Paligemma model for segmentation task is failing #136

Open
anamabo opened this issue Nov 15, 2024 · 0 comments
Open

Fine-tune Paligemma model for segmentation task is failing #136

anamabo opened this issue Nov 15, 2024 · 0 comments

Comments

@anamabo
Copy link

anamabo commented Nov 15, 2024

Hello:
I want to use Paligemma to segment water in satellite images. However, I haven't been able to find any documentation on how to scale the points inside my mask to be able to use them in Paligemma.
So far I have done the following:

Variables:
(x, y): is 1 point of the 8 needed.
w, h = width, height of the bounding box

I do the following transformation of x and y:

x_paligemma = xw / 64
y_paligemma = yh / 64

When I try to fine-tune the Paligemma model on this transformation, I obtain empty predictions.

Could you please tell me how can I prepare the segmentation points to have results in my model?

Thank you so much for your response!

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

No branches or pull requests

1 participant