facebookresearch / facebookresearch/segment-anything

How Can I Use This Web Based?

Open
#247 1 comment 0 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

Hello, thanks for this great job.

I want to make a web based tool using this project.
I tried in Django, a POST function takes the coordinates, "segment anything" works, and a GET function returns the result.But the model is loading again for every call of the GET function.

How can I do this, can anybody give me an idea?

Contributor guide

Open the contributing guide

Research direction

The issue mentions a Django integration with POST requests for coordinates and GET requests for results, but names no repository files or tests. Start by reviewing the project’s inference examples and the Django request lifecycle, then determine how model loading is expected to persist across calls. Done means documenting or implementing a supported web-based usage pattern without reloading the model for every GET request.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.