What are the best settings, tweaks and parameter values for .generate and sam_kwargs? #148
Answered
by
giswqs
torrinworx
asked this question in
Q&A
-
I'm having a hard time finding the best values for all these parameters in .generate and sam_kwargs, does anyone have any default values that work really well for auto segmenting satellite imagery? |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Jul 19, 2023
Replies: 1 comment 3 replies
-
The model paraters are from the original SAM model. The default values should work fine in most cases. You can fine-tune the parameters, but I am not aware of any general guidelines for this. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The model paraters are from the original SAM model. The default values should work fine in most cases. You can fine-tune the parameters, but I am not aware of any general guidelines for this.
https://github.com/facebookresearch/segment-anything/blob/main/segment_anything/automatic_mask_generator.py#L36