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

Questions about the produced masks #1

Open
imneonizer opened this issue Jul 8, 2024 · 1 comment
Open

Questions about the produced masks #1

imneonizer opened this issue Jul 8, 2024 · 1 comment

Comments

@imneonizer
Copy link

imneonizer commented Jul 8, 2024

  • Does it output instance segmentation masks?
  • Can we use the trained weights with automatic mask generator?

My goal is to do field delineation, I already got success with default weights using computer vision post processing, but I wanted to improve it further, training sam on domain data seems like a perfect solution to me. Only issue is it segments everything including roads water bodies etc, I want it to focus only on the fields.

Single produced mask on a 1024x1024 window:
image

Produced masks interpolated over a large area:
image

Converted to boundaries:
output

@ArminMoghimi
Copy link
Owner

  • Does it output instance segmentation masks?
  • Can we use the trained weights with automatic mask generator?

My goal is to do field delineation, I already got success with default weights using computer vision post processing, but I wanted to improve it further, training sam on domain data seems like a perfect solution to me. Only issue is it segments everything including roads water bodies etc, I want it to focus only on the fields.

Single produced mask on a 1024x1024 window: image

Produced masks interpolated over a large area: image

Converted to boundaries: output

This can be extended to instance segmentation. We use this for water segmentation from the background, and it can be. Please try to use this fine-tuning for more than one class. The results you provided are already good, as well.

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

2 participants