Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Flask & Sam2 integration #560

Open
upasana-mittal opened this issue Feb 3, 2025 · 0 comments
Open

Documentation for Flask & Sam2 integration #560

upasana-mittal opened this issue Feb 3, 2025 · 0 comments

Comments

@upasana-mittal
Copy link

Is there a documentation for Flask integration?

I have installed Sam2 in my flask app but not able to import it.

I keep getting this error:

RuntimeError: You're likely running Python from the parent directory of the sam2 repository (i.e. the directory where https://github.com/facebookresearch/sam2 is cloned into). This is not supported since the sam2Python package could be shadowed by the repository name (the repository is also namedsam2and contains the Python package insam2/sam2). Please run Python from another directory (e.g. from the repo dir rather than its parent dir, or from your home directory) after installing SAM 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant