-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Can you share the bounding box coordinates for debugging? Use m.bounds to get the coordinates |
Beta Was this translation helpful? Give feedback.
-
Hello @jfulponi We noticed that in our tests with the text-prompt approach too. We solved it by breaking the image into patches, processing them, and then returning it to its original size. The trick part is that we need to be careful with the patch size, mostly because SAM is a transformer and benefits from context information. Regardless, we hope to achieve an optimal point and soon I'll be working with @giswqs to implement this approach for bigger imagery. |
Beta Was this translation helpful? Give feedback.
Hello @jfulponi
We noticed that in our tests with the text-prompt approach too. We solved it by breaking the image into patches, processing them, and then returning it to its original size. The trick part is that we need to be careful with the patch size, mostly because SAM is a transformer and benefits from context information. Regardless, we hope to achieve an optimal point and soon I'll be working with @giswqs to implement this approach for bigger imagery.