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

SAM2 docker image not working #601

Open
lovelesh opened this issue Aug 9, 2024 · 4 comments
Open

SAM2 docker image not working #601

lovelesh opened this issue Aug 9, 2024 · 4 comments

Comments

@lovelesh
Copy link

lovelesh commented Aug 9, 2024

Hi,

I tried to build the docker image using the below command
docker-compose up
The docker image downloads all the necessary packages but the /app/start.sh does not execute. I have attached a snippet of the error below.
image

@Metareflektor
Copy link

@lovelesh have you tried it on a windows machine? i experienced the same problem as the start.sh file had CRLF line endings. After switching the line endings to LF and rebuild the image, it worked.

@StoneSteel27
Copy link

@Metareflektor Thanks for the tip, it worked. But do you know how to solve the issue of "RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx"

@Metareflektor
Copy link

Metareflektor commented Oct 24, 2024

@Metareflektor Thanks for the tip, it worked. But do you know how to solve the issue of "RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx"

Seems that the GPU is not available within the container. Under Windows you need the proper setup to get GPUs running (WSL2, correct Driver and somewhat new Win 10 or Win 11)

@StoneSteel27
Copy link

@Metareflektor Do you have any resources for the steps?, it will be a great help. I'm trying to get it working from for days now

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

3 participants