facebookresearch / facebookresearch/segment-anything
Multimask output question
Open
- Dominant language
- Jupyter Notebook
- Stars
- 54.9k
- Forks
- 6.4k
- PR merge metrics
- No merged PRs in 30d
Description
Why is num_mask_tokens = num_multimask_outputs + 1? And why is it that when you use multimask output, it slices from (1, None)?
Contributor guide
Research direction
No file, test, or entry point is named. Trace the definitions of num_mask_tokens and multimask output in the implementation, then document why the extra token exists and why the output is sliced from (1, None).
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100