You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 named
sam2and contains the Python package in
sam2/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.
The text was updated successfully, but these errors were encountered: