facebookresearch / facebookresearch/sam2

Worker sent code 139 when trying to add a point on the web demo

Open
#369 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
19.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

When I attempt to add a point in the web demo, an error occurs. I've deployed both the frontend and backend locally on my server (not using Docker) and access the demo via LAN on my desktop.

I've tried debugging myself and found that the network connection works well; the `frameIndex` and `points` are successfully sent to the backend and processed by `SAM2VideoPredictor`. However, when running the `add_new_points_or_box` method in `SAM2VideoPredictor`, the code crashes during `self._run_single_frame_inference()`. Unfortunately, no exceptions are thrown, so I'm struggling to determine the cause of the crash.

Why this might be happening or suggest some possible approaches to debug this issue further? Thank you all!

image

image

image

image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.