Skip to content

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
Discussion options

You must be logged in to vote

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

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@torrinworx
Comment options

@giswqs
Comment options

@torrinworx
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants