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

Open
#333 1 comment 2 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

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.

![2023-05-05_14-54](https://user-images.githubusercontent.com/30241262/236544548-09dfc599-d26a-45eb-8a3e-9aedb1ff5406.png)

I can click on cross on the image mentioned. But still, I can only visualize the masks but not select anything.
![2023-05-05_14-56_1](https://user-images.githubusercontent.com/30241262/236545013-461574ab-fa2e-4ac9-a767-f3bd56962df0.png)

_Originally posted by @dkhanna511 in https://github.com/facebookresearch/segment-anything/issues/270#issuecomment-1536650650_

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.