Replies: 1 comment
-
|
I have the exact same issue and i would really like to appriciate some help as well. To give some context - im trying to basically run the example on https://samgeo.gishub.org/examples/sam2_box_prompts/ m.user_rois looks like the following: {'type': 'FeatureCollection', |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
sam.predict(boxes=boxes, point_crs="EPSG:4326", output="mask.tif", dtype="uint8")
The code line in the section "Segment the image" can not work just with the origin codes in "sam2_box_prompt2". the error is "IndexError: too many indices for array: array is 3-dimensional, but 4 were indexed" and who can help me out?
Beta Was this translation helpful? Give feedback.
All reactions