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
installation instructions as outlined in https://github.com/facebookresearch/segment-anything-2/blob/main/INSTALL.md are quite fragile, besides containerizing, has anyone managed to create a working conda environment that install the necessary cuda toolkit and compilers so that the pip installation can succeed?
if yes, could we add that environment as a contribution here?
The text was updated successfully, but these errors were encountered:
Hi, we have recently made the CUDA extension step optional (in #155 and #175), which should simplify the installation step and require only PyTorch, opencv, and a few other common dependencies.
You can pull the latest code and reinstall via
# run the line below inside the SAM 2 repo
git pull;
pip uninstall -y SAM-2;
rm -f sam2/*.so;
pip install -e ".[demo]"
which allows using SAM 2 without CUDA extension (the results should stay the same in most cases, see INSTALL.md for details).
installation instructions as outlined in https://github.com/facebookresearch/segment-anything-2/blob/main/INSTALL.md are quite fragile, besides containerizing, has anyone managed to create a working conda environment that install the necessary cuda toolkit and compilers so that the pip installation can succeed?
if yes, could we add that environment as a contribution here?
The text was updated successfully, but these errors were encountered: