facebookresearch / facebookresearch/segment-anything

Samautomaticmaskgenerator stops after finding around 70 segments in multiple images

Open
#685 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
54.9k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Description

*Edit*:
If you want more maskes / segmentations:

python3 amg.py --checkpoint ~/models/sam/sam_vit_h_4b8939.pth --input /home/user/image.png --output results/ --model-type vit_h --points-per-side 64

Contributor guide

Open the contributing guide

Research direction

Start with the amg.py entry point and reproduce the reported behavior on multiple images using the command shown in the issue, including the specified checkpoint, model type, and points-per-side. Inspect how mask generation proceeds across inputs and compare the resulting segment count with the report; done means the stopping behavior is understood and the intended multi-image processing result is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.