facebookresearch / facebookresearch/segment-anything
Hi, I'm also trying to replicate the demo locally. But I'm facing some issues. I followed the README thoroughly but when I run `yarn && yarn start`. I get the error : `ERROR in File size (2564550879) is greater than 2 GiB
- Dominant language
- Jupyter Notebook
- Stars
- 54.9k
- Forks
- 6.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm also trying to replicate the demo locally. But I'm facing some issues. I followed the README thoroughly but when I run `yarn && yarn start`. I get the error : `ERROR in File size (2564550879) is greater than 2 GiB
webpack 5.82.0 compiled with 1 error in 5113 ms`
I am able to open the localhost, see the image, but I actually am not able to understand how to segment in that image.

I can click on cross on the image mentioned. But still, I can only visualize the masks but not select anything.

_Originally posted by @dkhanna511 in https://github.com/facebookresearch/segment-anything/issues/270#issuecomment-1536650650_
Contributor guide
Research direction
Start with the README instructions and reproduce `yarn && yarn start` for the local demo. Investigate the reported webpack 5.82.0 file-size error, then check the localhost demo behavior shown in the attached images, including mask visualization and selection. Done means the demo builds without that error and its segmentation interaction is explained or works as documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100