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

Expose SAM parameters on node #81

Open
Pixelkram opened this issue May 29, 2023 · 0 comments
Open

Expose SAM parameters on node #81

Pixelkram opened this issue May 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Pixelkram
Copy link
Collaborator

e.g.:

mask_generator_2 = SamAutomaticMaskGenerator(
model=sam,
points_per_side=32,
pred_iou_thresh=0.86,
stability_score_thresh=0.92,
crop_n_layers=1,
crop_n_points_downscale_factor=2,
min_mask_region_area=100, # Requires open-cv to run post-processing
)

https://github.com/facebookresearch/segment-anything/blob/main/notebooks/automatic_mask_generator_example.ipynb
https://github.com/facebookresearch/segment-anything/blob/main/notebooks/predictor_example.ipynb

@Pixelkram Pixelkram added the enhancement New feature or request label May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant