facebookresearch / facebookresearch/segment-anything
"AssertionError: set_torch_image input must be BCHW with long side 1024. "
Open
- Dominant language
- Jupyter Notebook
- Stars
- 54.9k
- Forks
- 6.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I have been working with SAM, but I have this problem:
**"AssertionError: set_torch_image input must be BCHW with long side 1024. "**
The problem occurred when I run the "generated" method :
**sam_mask.generate(image)**
Can I work with different image sizes?
Contributor guide
Assessment
This issue has not been assessed yet.